Page 1 of 1
bombing a tank problem
Posted: Tue Feb 10, 2004 11:09 pm
by longshanks
have been trying to get a tank to bomb in single player. ( in the how to bomb anything in single player tutorial)

the tank in objective 4 dosent work properly when it explodes both turrets on the tank seem to show how do i get rid of the undamaged tank any sugestions
thanks
LONGSHANKS..................
Posted: Wed Feb 11, 2004 10:29 pm
by Shortricci
I think its something like this
hide dir/modelname
Probably not in that position
- Ricci

Posted: Thu Feb 12, 2004 1:39 am
by bdbodger
here is part of a script that may help you
if(level.tankdie)
{
spawn "vehicles/kingtank_d.tik" origin level.tank[level.tankdie].origin
spawn "vehicles/kingcannon_d.tik" origin level.tank[level.tankdie].origin
exec global/model.scr level.tank[level.tankdie].origin "fx/fx_tank_explosion.tik" 2
level.tank[level.tankdie] delete
level.tankgun[level.tankdie] delete
iprintln "The axis have destroyed a tank "