OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: techn9ne on 24 Aug 2006, 23:32:20
-
Hey ppl is there any script that can make a unit look dead but still be alive?
any info gr8ly appreci8ed
marcus :afro:
-
Do you mean to fake death?
Or do you mean like zombies.
-
Yeah to fake death, so far what ive done is set the units health to minimum and removed the units m16 but ive just got a soldier blood soaked but in a prone possition but still looking alive.
marcus :afro:
-
There is an animation to go dead. You can use the playmove command to do it.
OK To make a unit look like he has died you need to make this run in a script or trigger. Change unitname to what ever the unit is and then watch the guy fall.
UnitName PlayMove "CombatDyingVer2"
You will also want to have another line to make him get up so try something like this
_UnitName SwitchMove "CivilCombatTrans"
You need to play around with the timings etc for it to work well.
-
ahhh excellent, just what i was looking for thanks alot :good:
marcus :afro: