Difference between revisions of "GetCrime"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
imported>Haama
(Category links)
Line 11: Line 11:


[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (CS 1.0)]]
[[Category:Actor Functions]]
[[Category:Actor Functions (CS 1.0)]]
[[Category: Condition Functions]]
[[Category: Condition Functions (CS 1.0)]]
[[Category: Crime Functions]]
[[Category: Crime Functions]]
[[Category: Condition Functions]]
[[Category: Crime Functions (CS 1.0)]]
[[Category:Actor Functions]]

Revision as of 22:05, 6 July 2007

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