FutureProg functions
triggertrap
Overload 1
triggertrap overload 1
Boolean triggertrap(Trap trap)
Available in
- computer function
- computer program
- standard futureprog
Triggers a trap and returns whether the state change or activation succeeded.
| Parameter | Type | Description |
|---|---|---|
trap |
Trap |
The trap to control. |
Overload 2
triggertrap overload 2
Boolean triggertrap(Trap trap, Character triggerer)
Available in
- computer function
- computer program
- standard futureprog
Triggers a trap and returns whether the state change or activation succeeded.
| Parameter | Type | Description |
|---|---|---|
trap |
Trap |
The trap to activate. |
triggerer |
Character |
The character to use as the target of the forced activation. |