Difference between revisions of "KillActor"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
(No difference)

Revision as of 15:01, 26 November 2008

Description

Kill Actor kills a specified actor and takes three optional parameters to set who killed it, which limb is dismembered, and how it got killed. See GetHitLocation for limb values and GetCauseofDeath for death values.

Syntax

KillActor KillerActorREF (optional), DismemberLimb (optional), CauseOfDeath (optional) 

Examples

KillActor
Kill
Kill player, 1, 0

Player killed him, dismembers a limb, marks actor as killed by an explosion.

Notes

  • Use some dummy NPC (e.g. CG01DadREF) for Killer param if you don't care who killed him and just want to use the other optional parameters. (Do NOT use player since that will cause "limb crippled" messages to be displayed.)
  • Dismember Limb Locations [as of 05/31/08]
    • 1 - head
    • 3 - left arm
    • 5 - right arm
    • 7 - left leg
    • 10 - right leg

See Also

GetHitLocation
GetCauseofDeath

Reference

None provided.