Staredit Network

Staredit Network -> UMS Assistance -> [SOLVED] Save/death
Report, edit, etc...Posted by -bilal92- on 2006-07-14 at 18:02:18
im making a cat & mouse type game called grinch & children, thing is i cant seem to get the trigger when someone saves someone after they're captured, neither can i get them to die, cause when i put the flag there after they die, it keeps blowing up. (im using hyper triggers) i do kill units at whole map for current player because i want when someone dies all their buildings die too... anyone know whats wrong?
Report, edit, etc...Posted by XGuy on 2006-07-14 at 18:37:27
QUOTE
neither can i get them to die, cause when i put the flag there after they die, it keeps blowing up.


put the kill trigger to only kill buildings, not everything
Report, edit, etc...Posted by Kasigua on 2006-07-14 at 18:41:24
I'm not sure what you meant. I think you mean that when someone saves to dead one, the flag keep on there, isnt it? or still mnaking more flags? Answer plz... or expalin better wink.gif I've done some maps like that, and I know triggers about that problem.
Report, edit, etc...Posted by -bilal92- on 2006-07-14 at 21:29:48
QUOTE(Kasigua @ Jul 14 2006, 02:41 PM)
I'm not sure what you meant. I think you mean that when someone saves to dead one, the flag keep on there, isnt it? or still mnaking more flags? Answer plz... or expalin better wink.gif I've done some maps like that, and I know triggers about that problem.
[right][snapback]523897[/snapback][/right]


like i said it keeps blowing up and the trigger still wont work, like it seems like the trigger is jammed or seomthing...idk, anyone got any example of a trigger?
Report, edit, etc...Posted by devilesk on 2006-07-14 at 21:34:55
I'm assuming based on how you've explained your problem that it stems from a lack of conditions in your "kill units at the whole map for current player" trigger when the person is captured.

The solution would just be to add the condition "Currentplayer commands at least 1 building" and/or currentplayer commands exactly 0 flag.


So lets so that the unit that gets captured is a marine, and when someone gets captured they don't have a marine (because it gets killed or whatever), and you want to kill the buildings they own as well, then trigger would look like this

Conditions:
Currentplayer commands exactly 0 marine
currentplayer commands at least 1 building
currentplayer commands exactly 0 flag

Actions:
Kill all buildings for currentplayer
create flag at wherever
Preserve
Report, edit, etc...Posted by -bilal92- on 2006-07-15 at 13:08:47
QUOTE(devilesk @ Jul 14 2006, 05:34 PM)
I'm assuming based on how you've explained your problem that it stems from a lack of conditions in your "kill units at the whole map for current player" trigger when the person is captured.

The solution would just be to add the condition "Currentplayer commands at least 1 building" and/or currentplayer commands exactly 0 flag.
So lets so that the unit that gets captured is a marine, and when someone gets captured they don't have a marine (because it gets killed or whatever), and you want to kill the buildings they own as well, then trigger would look like this

Conditions:
Currentplayer commands exactly 0 marine
currentplayer commands at least 1 building
currentplayer commands exactly 0 flag

Actions:
Kill all buildings for currentplayer
create flag at wherever
Preserve
[right][snapback]523984[/snapback][/right]


cool thanks man ill try this soon
Report, edit, etc...Posted by DT_Battlekruser on 2006-07-15 at 13:49:21
The bulding condition really isn't needed. You just have a trigger with condition "Player commands at most 0 Mouse" to kill everything and make a flag. Add a "Player commands at most 0 flag" to it too, and you'll be fine.

For the rescuing part, you want to do somthing like this:
C:
-Current Player brings at least 1 Flag to 'Jail'
-Force 1 (Mice) brings at least 1 Mouse to 'Jail'
A:
-Remove all Flag for Current Player at Jail
-Create 1 Mouse for Current Player at Jail
-Display Text "freed"
-Preserve Trigger
Report, edit, etc...Posted by -bilal92- on 2006-07-17 at 02:42:39
im dont this map ty for the help guys i added u onto special thanks biggrin.gif
hehe no more for this...
Next Page (1)