Difference between revisions of "@SeeCrime"

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 explicitly a...')
 
 
Line 27: Line 27:
 
| '''Argument''' || '''In/Out''' || '''Description'''
 
| '''Argument''' || '''In/Out''' || '''Description'''
 
|-
 
|-
| ARGN1 || I || The skill number that is needed to see the crime. (-1 = seen by all)
+
| ARGN1 || I || If ARGN1 this character will add MEMORY_SAWCRIME to SRC's memory, so SRC will be flagged as criminal for this character.
 
|-
 
|-
| 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==
 
==Return Values==
The following return values are explicitly defined for this trigger:
+
There are no return values related to 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: Reference Compendium]]
 
[[Category: Triggers]]
 
[[Category: Triggers]]

Latest revision as of 11:53, 2 May 2015

Description

This trigger fires when a character witnesses a crime taking place.


Fires on:


References

The following object references are explicitly available for this trigger:

Name Description
ARGO The victim of the crime.
I The character witnessing the crime.
SRC The 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:

Argument In/Out Description
ARGN1 I If ARGN1 this character will add MEMORY_SAWCRIME to SRC's memory, so SRC will be flagged as criminal for this character.


Return Values

There are no return values related to this trigger.