Difference between revisions of "KillActor"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Cipscis
(Added information on dismemberment, updated Dismemberment parts list)
Line 1: Line 1:
=='''Description'''==
=='''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.
'''Kill Actor''' kills a specified actor and takes three optional parameters to set who killed it, which limbs are dismembered, and how it got killed. See [[GetCauseofDeath]] for death values.


=='''Syntax'''==
=='''Syntax'''==
Line 20: Line 19:
*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.)
*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]
*When a [[Body Part]] is dismembered, all Severable/Explodable body parts that share its assigned [[ActorValue]] will also be dismembered.
**1 - head
 
**3 - left arm
*If a body part is not checked as Explodable, neither it nor any body parts that share its ActorValue will explode when dismembered.
**5 - right arm
 
**7 - left leg
*Dismember body part Locations [as of 12/12/08]
**10 - right leg
**0 - Torso
**1 - Head1
**2 - Head2
**3 - LeftArm1
**4 - LeftArm2
**5 - RightArm1
**6 - RightArm2
**7 - LeftLeg1
**8 - LeftLeg2
**9 - LeftLeg3
**10 - RightLeg1
**11 - RightLeg2
**12 - RightLeg3
**13 - Brain
**14 - Weapon


=='''See Also'''==
=='''See Also'''==
[[GetHitLocation]]<br>
[[GetHitLocation]]<br>
[[GetCauseofDeath]]<br>
[[GetCauseofDeath]]<br>
[[Body Part]]<br>
[[ActorValue]]


=='''Reference'''==
=='''Reference'''==

Revision as of 20:57, 11 December 2008

Description

Kill Actor kills a specified actor and takes three optional parameters to set who killed it, which limbs are dismembered, and how it got killed. See 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.)
  • When a Body Part is dismembered, all Severable/Explodable body parts that share its assigned ActorValue will also be dismembered.
  • If a body part is not checked as Explodable, neither it nor any body parts that share its ActorValue will explode when dismembered.
  • Dismember body part Locations [as of 12/12/08]
    • 0 - Torso
    • 1 - Head1
    • 2 - Head2
    • 3 - LeftArm1
    • 4 - LeftArm2
    • 5 - RightArm1
    • 6 - RightArm2
    • 7 - LeftLeg1
    • 8 - LeftLeg2
    • 9 - LeftLeg3
    • 10 - RightLeg1
    • 11 - RightLeg2
    • 12 - RightLeg3
    • 13 - Brain
    • 14 - Weapon

See Also

GetHitLocation
GetCauseofDeath
Body Part
ActorValue

Reference

None provided.