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.
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[2026-9-23. : 10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
Please log in to shout.


Members Online: Zycorax