Difference between revisions of "GetCrime"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Khadir
(Documenting actor functions ...)
imported>JOG
Line 1: Line 1:
{{ActorFunction}}
'''Syntax:'''
'''Syntax:'''
  [''ActorID''.]GetCrime ''CriminalActorID'' [''CrimeType'']
  [''ActorID''.]GetCrime ''CriminalActorID'' [''CrimeType'']
Line 14: Line 13:
[[Category: Crime Functions]]
[[Category: Crime Functions]]
[[Category: Condition Functions]]
[[Category: Condition Functions]]
[[Category:Actor Functions]]

Revision as of 10:20, 28 June 2006

Syntax:

[ActorID.]GetCrime CriminalActorID [CrimeType]

Example:

 GetCrime player, 3 

Returns 1 if the CriminalActorID has committed the specified crime type against the calling actor, AND the calling actor knows about the crime. If crime type is omitted, will return true if the caller knows about any crime that the CriminalActorID has committed against him.

See Also