Difference between revisions of "GetCrime"

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


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

Revision as of 11:24, 23 January 2008

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