Difference between revisions of "@PersonalSpace"

From SphereWiki
Jump to: navigation, search
(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...')
 
(Add ARGN3)
 
(One intermediate revision by one other user not shown)
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.
 +
|-
 +
| ARGN3 || IO  || Maximum stamina requirement (default 1 = require maximum stamina)(X-Only)
 
|}
 
|}
 
  
 
==Return Values==
 
==Return Values==

Latest revision as of 17:26, 2 October 2025

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.
ARGN3 IO Maximum stamina requirement (default 1 = require maximum stamina)(X-Only)

Return Values

The following return values are explicitly defined for this trigger:

Return Value Description
1 Prevents the character from being stepped on.