- Found in:
- Vanilla
eventOnCripple(ActorValueakActorValue, boolabCrippled)
Description
Wiki Description
Event called when this actor has a limb that goes from healthy to crippled or crippled to healthy.
Documentation Comment
Recieved immeadiately after a limb has become crippled or uncrippled.
Parameters
ActorValueakActorValue
CK Wiki Description
The Actor Value for the limb that raised the OnCripple event.
boolabCrippled
CK Wiki Description
True if the limb just went from healthy to crippled, False if the limb went from crippled to healthy.
Examples
Event OnCripple(ActorValue akActorValue, bool abCrippled)
Debug.Trace("OnCripple Received: " + akActorValue+ ", " + abCrippled)
EndEventAuto-Generated Example
Scriptname MyCoolScript extends Actor
event OnCripple(ActorValue akActorValue, bool abCrippled)
Debug.trace("Event received - OnCripple: akActorValue = " + akActorValue + " abCrippled = " + abCrippled)
endEvent