Page 1 of 1

routlist in script more than one

Posted: Wed Nov 26, 2003 2:54 am
by small_sumo
Sorry mate I had a good look at the manual and am not 100% on if I understand it correctly.

I have 2 bombs

bomb

and bomb2

bomb has routes right and left

and bomb2 has routes left2 and right2

Very imaginative naming no? Lol.

So how would I do that.

:)

$bomb thread global/jv_obj_dm.scr::bomb_thinker
level.routelist[bomb] = right::left
level.routelist[bomb2] = right_2::left_2

waitthread global/jv_bots/jv_mp_ai.scr::enable 0 0 0 0 // enables bots
while !(level.roundstart)
wait 0.5
thread allied_win_check
wait 1

???????????????

Posted: Wed Nov 26, 2003 6:46 am
by jv_map
Yup that's right, though according to your post

level.routelist[bomb2] = right_2::left_2

should be

level.routelist[bomb2] = right2::left2

Make sure to set the appropriate $routelist keys for the bombs!

:wink: