FutureProg functions
addflighteffect
Overload 1
addflighteffect overload 1
Effect addflighteffect(Character target)
Available in
- computer function
- computer program
- standard futureprog
Adds a saved, spell-independent flight effect. Returns that effect, the existing matching effect without stacking/refreshing, or null for invalid inputs. Hiding uses a native terrain hide check; flight grants capability without relocating the character.
| Parameter | Type | Description |
|---|---|---|
target |
Character |
The character. |
Overload 2
addflighteffect overload 2
Effect addflighteffect(Character target, Number seconds)
Available in
- computer function
- computer program
- standard futureprog
Adds a saved, spell-independent flight effect. Returns that effect, the existing matching effect without stacking/refreshing, or null for invalid inputs. Hiding uses a native terrain hide check; flight grants capability without relocating the character.
| Parameter | Type | Description |
|---|---|---|
target |
Character |
The character. |
seconds |
Number |
Seconds until expiry; zero means indefinite. |