Difference between revisions of "OnStoryKillActor - Quest"
Jump to navigation
Jump to search
imported>Shayologo |
imported>Chesko m (Improved grammar.) |
||
Line 17: | Line 17: | ||
*akKiller: The [[ObjectReference Script|ObjectReference]] that killed the victim. | *akKiller: The [[ObjectReference Script|ObjectReference]] that killed the victim. | ||
*akLocation: The [[Location Script|Location]] where the crime occurred. | *akLocation: The [[Location Script|Location]] where the crime occurred. | ||
*aiCrimeStatus: Has the crime been reported? | *aiCrimeStatus: Has the crime been reported? 0 = No crime Faction for target; 1 = Crime was not reported; 2 = Crime was reported. | ||
*aiRelationshipRank: The relationship between the killer and victim before the crime occurred. Will be one of the following: | *aiRelationshipRank: The relationship between the killer and victim before the crime occurred. Will be one of the following: | ||
**4: Lover | **4: Lover |
Revision as of 15:20, 6 October 2013
Member of: Quest Script
Event called when this quest is started via a kill actor story manager event.
Syntax
Event OnStoryKillActor(ObjectReference akVictim, ObjectReference akKiller, Location akLocation, int aiCrimeStatus, \
int aiRelationshipRank)
Parameters
- akVictim: The ObjectReference that was killed.
- akKiller: The ObjectReference that killed the victim.
- akLocation: The Location where the crime occurred.
- aiCrimeStatus: Has the crime been reported? 0 = No crime Faction for target; 1 = Crime was not reported; 2 = Crime was reported.
- aiRelationshipRank: The relationship between the killer and victim before the crime occurred. Will be one of the following:
- 4: Lover
- 3: Ally
- 2: Confidant
- 1: Friend
- 0: Acquaintance
- -1: Rival
- -2: Foe
- -3: Enemy
- -4: Archnemesis
Examples
Event OnStoryKillActor(ObjectReference akVictim, ObjectReference akKiller, Location akLocation, int aiCrimeStatus, \
int aiRelationshipRank)
if aiCrimeStatus
Debug.Trace(akKiller + " killed " + akVictim + " and it was reported!")
endIf
endEvent