Difference between revisions of "@SeeCrime(Snooping)"

From SphereWiki
Jump to: navigation, search
(Created page with "==Description== This trigger fires when a character witnesses a crime taking place. Fires on: * Characters ==References== The following object references are explicitl...")
 
(Blanked the page)
 
Line 1: Line 1:
==Description==
 
This trigger fires when a character witnesses a crime taking place.
 
  
 
Fires on:
 
* [[Characters]]
 
 
 
==References==
 
The following object references are explicitly available for this trigger:
 
 
{| border="1" cellspacing="4" cellpadding="4"
 
| '''Name''' || '''Description'''
 
|-
 
| [[ARGO]] || The [[Characters|victim]] of the crime.
 
|-
 
| [[I]] || The [[Characters|character]] witnessing the crime.
 
|-
 
| [[SRC]] || The [[Characters|character]] performing the criminal action.
 
|}
 
 
 
==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:
 
 
{| border="1" cellspacing="4" cellpadding="4"
 
| '''Argument''' || '''In/Out''' || '''Description'''
 
|-
 
| ARGN1 || I || The skill number that is needed to see the crime. (-1 = seen by all)
 
|-
 
| ARGN2 || I || The [[UID]] of the object related to the action. (e.g. a corpse, if the action is looting)
 
|-
 
| ARGS || I || A description of the criminal action.
 
|}
 
 
 
==Return Values==
 
The following return values are explicitly defined for this trigger:
 
 
{| border="1" cellspacing="4" cellpadding="4"
 
| '''Return Value''' || '''Description'''
 
|-
 
| 0 || Allows the character to see the crime, with no skill check taking place.
 
|-
 
| 1 || Prevents the character from seeing the crime.
 
|}
 
 
 
[[Category: Reference Compendium]]
 
[[Category: Triggers]]
 

Latest revision as of 11:45, 2 May 2015