routlist in script more than one

Please use this forum to ask all your MoHAA Bots questions / discussions

Moderator: Moderators

Post Reply
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

routlist in script more than one

Post 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

???????????????
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post 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:
Image
Post Reply