Home   Help Search Login Register  

Author Topic: heres a tough one..maybe...  (Read 556 times)

0 Members and 1 Guest are viewing this topic.

nmanjar

  • Guest
heres a tough one..maybe...
« on: 07 Dec 2004, 03:46:35 »
heres a tough one..maybe...i dont know,  but i like to have some prior battle scenery [dead bodies, tanks, smoke fire blah blah] but I always want to have thr tanks look like theyve been involved.

So what I'd like to do is to turn the turrets [I use empty vehicles for things like this to avoid lag] but how do i get the turret rotated to any degree even pitch too if tis possible.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:heres a tough one..maybe...
« Reply #1 on: 07 Dec 2004, 04:11:23 »
place a full tank wherever you want it, and a unit off in the direction you want it to look, then do this:
this dotarget otherunit; "deletevehicle _x" foreach (cargo this);deletevehicle otherunit; this setdammage 1

that goes in the tanks init, and i can't garuntee it, the tank may die before it can target, but you have to name the "otherunit" so it knows who to target

EDIT: also setting is fuel to 0 would be a good idea
« Last Edit: 07 Dec 2004, 04:12:03 by Triggerhappy »

DBR_ONIX

  • Guest
Re:heres a tough one..maybe...
« Reply #2 on: 07 Dec 2004, 22:31:36 »
Or, do that in a script, with a delay before setdammage

ThEoNeAnDoNlY

  • Guest
Re:heres a tough one..maybe...
« Reply #3 on: 08 Dec 2004, 11:51:04 »

yea the script wud be easy to do.

just use something like this

Tank dotarget man (the man being the bloke off in the distance)

~3

Tank setdamage 2

exit


i cant guarntee that will work and you will have to take away my little hint in the barackets but it shud be something liek that.


Guy