Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Help with triggers
Help with triggers
May 26 2008, 4:02 pm
By: Cheathunta  

May 26 2008, 4:02 pm Cheathunta Post #1



I am making an RPG Map( Made using Staredit but edited using SCMDraft) and i am making a little mini movie/ nitro. I tried to make everything fit into one trigger (which obviously didnt work). The big trigger ended at a unit getting killed, which made it look like another unit killed it.


I made a new trigger to continue on where that one left off.


Triggerr order:


Conditions: Always


Actions: Buch of trigger crap, stuff...

Kill all Civillian owned by player 7 at location : Kill Vivillian


*No more trigger space left*


New trigger : Conditions: Player 7 sufferes death of civillian

Always

Actions: More trigger stuff






---------------------------


Yet when the trigger before kills the civillian, the other triggers dont happen. I dont know why



I have Attached the map. It is only in the pre pre pre pre pre pre pre Alpha stage so i have only gotten some of the intro done. Anyone can feel free to crack it open and see why the trigger wont activate.

Attachments:
Sonic RpG.scm
Hits: 0 Size: 105.25kb



None.

May 26 2008, 4:57 pm Brontobyte Post #2



Quote from Cheathunter
Yet when the trigger before kills the civillian, the other triggers dont happen. I dont know why

Well that simply means that the Triggers conditions were not met. Instead of killing the Civilian (if thats what just to set the next trigger, if not then keep it) try using the "Set Deaths" trigger. You can either take out the Civilian if its not part of the movie or leave it if it is. For this trigger I would use the Exact amount variable:

"Set Player 7 deaths to exactly 1 Terran Civilian"

-Keep firing away! :)



None.

May 26 2008, 5:03 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Yeah killing a unit by triggers does not update the death count. You'll have to do that manually.




May 26 2008, 5:05 pm Cheathunta Post #4



Quote from NudeRaider
Yeah killing a unit by triggers does not update the death count. You'll have to do that manually.


How do i update the death count then? Is it possible to use triggers to have units attack other units even though there allied?



None.

May 26 2008, 5:12 pm NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

omg... bronto answered it already. Set deaths action -duh.

No. Alliance is player based, not unit based.
You can give the unit that is to die to P9-11. It will retain its color but counts as enemy to every player. If not MAKE it enemy via set alliance action. The unit should not even try to run away or fight back.




May 26 2008, 5:17 pm Brontobyte Post #6



Actions:
Set Deaths("Player 7", "Terran Civilian", Set To, 1);

Here is the text based trigger.



None.

May 29 2008, 2:36 am Falkoner Post #7



You could also use a switch to continue the trigger if that is more simple to you.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
Please log in to shout.


Members Online: jun3hong, Roy