Home   Help Search Login Register  

Author Topic: How to use setVelocity on a barrel  (Read 672 times)

0 Members and 1 Guest are viewing this topic.

DavidCR125

  • Guest
How to use setVelocity on a barrel
« 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.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How to use setVelocity on a barrel
« Reply #1 on: 05 Jun 2003, 13:51:09 »
What happens if you try it with a jeep rather than a barrel?
Plenty of reviewed ArmA missions for you to play

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:How to use setVelocity on a barrel
« Reply #2 on: 05 Jun 2003, 14:48:02 »
thinks its somin 2 do w/ da camcreate command

try createvehicle nd den wait bvout 2 secs b4 fling it

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Doolittle

  • Contributing Member
  • **
  • _this select 0
Re:How to use setVelocity on a barrel
« Reply #3 on: 05 Jun 2003, 16:39:22 »
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

DavidCR125

  • Guest
Re:How to use setVelocity on a barrel
« Reply #4 on: 06 Jun 2003, 03:45:12 »
thanks for the help

spawning a bullet in the barrel works for what I needed.