Page 1 of 1

Bombs + tank

Posted: Tue Aug 05, 2003 9:02 pm
by martijn_NL
I want to make a tank in mp-level drive, no problem. But not when that need to be blown wtih a bomb. The problem is the tank move but the bomb doen't move. Does someone know how to make the bomb travel with the tanlk

Posted: Tue Aug 05, 2003 9:12 pm
by Alcoholic
since its a vehicle, you cant bind things directly, but you can glue a 'parent' and bind stuff to the 'parent'

EXAMPLE:

Code: Select all

local.parent = spawn script_origin
local.parent glue $mytank
$mytank.parent = local.parent

//yata yata yata

$mybomb bind $mytank.parent

Posted: Wed Aug 06, 2003 11:12 am
by martijn_NL
The tank moves correctly but the bomb disapears (when the tank drives), instead of standing still while the tank is moving