OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: DavidCR125 on 05 Jun 2003, 13:03:22
-
Does anyone know how you can use setVelocity on a barrel.
I have tried something like this but it doesn't work.
_barrel = "Barrel2" camCreate [_barrelpos]
_barrel setVelocity [0, 0, 50]
The barrel just sits on the ground until something hits it or you shoot it.
-
What happens if you try it with a jeep rather than a barrel?
-
thinks its somin 2 do w/ da camcreate command
try createvehicle nd den wait bvout 2 secs b4 fling it
LCD OUT
-
That is standard behaviour, the objects only moving after shot thingy. You have to spawn a grenade or a bullet inside the barrel to get it to move.
Doolittle
-
thanks for the help
spawning a bullet in the barrel works for what I needed.