OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: Graywolf on 19 Jun 2004, 06:56:30
-
Does anybody remember the mission were you get Wire Cutters ?
I can not find it :(
Is their a Addon or script for useing Wire cutters ?
Thanks ;)
-
you can simulate it, but you need the editorupgrade because there's a fence in it in 2 versions : a normal and a torned one.
I did in a Blackops mission.
I add an action on it (cut wire), make the cutter sit via a animation, add some cutting sounds and replace the fence with the torned one.
-
@Blanco
Would you mind sharing the script with us? Or is it top secret :)
-
not at all, but I don't have it with me right now.
-
You need General Barron's version editorupgrade102
Place a fence chainlink (EU - Roads / fences/ FENCE Chainlink) on your map.
In the init of the fence :
ID01 = this addaction ["CUT WIRE","CUTTER.sqs"]
And use this little script :
;________________________
;::::::::::::::::::::::::
;
;CUTTER.sqs
;author <Blanco>
;created 10/10/2003 3:27:44
;________________________
;::::::::::::::::::::::::
_fence = _this select 0
_cutter = _this select 1
_fence removeaction ID01
_xpos = getpos _fence select 0
_ypos = getpos _fence select 1
_zpos = getpos _fence select 2
_dir = getdir _fence
_cutter switchmove "civiltocivilputdown"
~2
deletevehicle _fence
_tornfence = "AAA541" camcreate [0,0,0]
_tornfence setpos [_xpos,_ypos,_zpos]
_tornfence setdir _dir
exit
Easy huh?