Difference between revisions of "@PersonalSpace"
From SphereWiki
MrSugarCube (talk | contribs) (Created page with '==Description== This trigger fires when a character is stepped on by another character. Fires on: * Characters ==References== The following object references are explicit...') |
(→Arguments) |
||
| Line 26: | Line 26: | ||
|- | |- | ||
| ARGN1 || IO || The amount of stamina needed to step on to the character. | | ARGN1 || IO || The amount of stamina needed to step on to the character. | ||
| + | |- | ||
| + | | ARGN2 || O || Setting it to 1 allow NPCs to pass over another NPCs, 0 reject the movement. | ||
|} | |} | ||
| − | |||
==Return Values== | ==Return Values== | ||
Revision as of 17:13, 30 July 2015
Description
This trigger fires when a character is stepped on by another character.
Fires on:
References
The following object references are explicitly available for this trigger:
| Name | Description |
| I | The character being stepped on. |
| SRC | The character doing the stepping. |
Arguments
The following arguments are set for this trigger. If an argument is marked as "In" then a value will be passed in to the trigger, if an argument is marked as "Out" then it can be set to a value to affect Sphere's behaviour:
| Argument | In/Out | Description |
| ARGN1 | IO | The amount of stamina needed to step on to the character. |
| ARGN2 | O | Setting it to 1 allow NPCs to pass over another NPCs, 0 reject the movement. |
Return Values
The following return values are explicitly defined for this trigger:
| Return Value | Description |
| 1 | Prevents the character from being stepped on. |