TOW BT map in Spearhead ???

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
marky
Private
Posts: 1
Joined: Fri Sep 10, 2004 12:30 am

TOW BT map in Spearhead ???

Post by marky »

hi there.

i have convert my own created TOW BT map to Spearhead.
now i cant use the 3 triggers for TOW.
Bombs can be plant. !?!
the script is the same used in BT.
anyone knows about possible errors i have made???

Thanks for suggestion.
Grassy
First Lieutenant
Posts: 221
Joined: Sun Aug 22, 2004 11:36 am

Post by Grassy »

Possibly it's because the BT script is using new commands for TOW commands wher'as SH uses these,
// MP_Flughafen_TOW
// Note: For objective function calls TakeOver and SetCurrent the
// teams are as such:
// 0 = Axis
// 1 = Allies
// 2 = Neutral
In most of the stock maps these flags are set in the map using TOW objectives linked it to the triggers which have a Key: setthread to call threads in the scr

if( parm.other.dmteam == axis )
{
if( $Obj_switch2.ControlledBy != 0 )

The best advice I can give is look at the way some of the SH TOW scripts handle the triggers and modify your BT script to match.
Or do it the long hand way by using level.variables for each objective, it's more code but the end result is the same.
Grassy
Post Reply