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.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: Roy