i followed 'Nemesis's Tutorial
this way can blow up only 1 stuff
i want 2 stuff
like v2
someone teach me plz
how can i make map like obj2(v2)?
Moderator: Moderators
not sure what exactly your asking but...
look at the scr for v2
This is where v2 checks is both bombs are exploded. if they are... allies win.
the bobms are sent to the bomb thinker one at a time here.
and this is where it sends the resulting info to the victory thread.
the bomb thinker determines individualy, if each bomb blows up, and sets each one to 'exploded' if they do, and the victory thread checks if both have gone up.
look at the scr for v2
Code: Select all
allies_win_bomb local.bomb1 local.bomb2:
while (local.bomb1.exploded != 1)
wait .1
while (local.bomb2.exploded != 1)
wait .1the bobms are sent to the bomb thinker one at a time here.
Code: Select all
$v2_explode thread global/obj_dm.scr::bomb_thinker
$ctrlroom_explode thread global/obj_dm.scr::bomb_thinkerand this is where it sends the resulting info to the victory thread.
Code: Select all
thread allies_win_bomb $v2_explode $ctrlroom_explodeWhen I am king, you will be first against the wall~

