Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Help making a RP Trigger
Help making a RP Trigger
This topic is locked. You can no longer write replies here.
Aug 25 2009, 1:27 am
By: AlbertW-RCDF  

Aug 25 2009, 1:27 am AlbertW-RCDF Post #1



Who can type the Conditions and Actions for make a zombies spawn trigger for a Resident Evil RP map???
I can't find out how...I suck making RPing triggers :bleh:



None.

Aug 25 2009, 1:47 am Vrael Post #2



Quote from name:UMS Assistance Rules
6. Avoid asking very basic questions. Staredit's help file (press F1 while using staredit), Blizzard's Staredit FAQ and some of the tutorials can help you to understand what is a location, what triggers are for or what an specific trigger action does. Do not waste our time by asking them.
http://www.staredit.net/wiki/Basics_of_UMS_Mapping
http://www.staredit.net/topic/7783/



None.

Aug 25 2009, 4:20 am lil-Inferno Post #3

Just here for the pie

It's pretty simple, but I'll post it anyway.

Code
Trigger("Force 1"){
Conditions:
    Command("Current Player", "Protoss Arbiter", At least, 1);

Actions:
    Move Location("Current Player", "Protoss Arbiter", "Anywhere", "Spawner");
    Preserve Trigger();
}

//-----------------------------------------------------------------//

Trigger("Force 1"){
Conditions:
    Bring("Current Player", "Terran Civilian", "Spawn Zombie", At least, 1);
    Deaths("Current Player", "Cave", At most, 59);

Actions:
    Set Deaths("Current Player", "Cave", Add, 1);
    Preserve Trigger();
}

//-----------------------------------------------------------------//

Trigger("Force 1"){
Conditions:
    Bring("Current Player", "Terran Civilian", "Spawn Zombie", At least, 1);
    Deaths("Current Player", "Cave", Exactly, 60);

Actions:
    Set Deaths("Current Player", "Cave", Set To, 0);
    Create Unit("Current Player", "Protoss Zealot", 1, "Spawner");
    Preserve Trigger();
}

//-----------------------------------------------------------------//



Notes:
  • Make sure that you have hyper triggers, otherwise death counts will work very slowly.
  • You do not need death counts. I simply did that because I'm used to using death counts to cover up mostly every wait. An alternative is to just use a wait, though wait blocks do occur.

Hope I helped :).

Post has been edited 3 time(s), last time on Aug 25 2009, 5:39 am by lil-Inferno.




Aug 25 2009, 4:26 am Jack Post #4

>be faceless void >mfw I have no face

Wait what are the cave deaths for? I think you need to replace them with swarm.



Red classic.

"In short, their absurdities are so extreme that it is painful even to quote them."

Aug 25 2009, 5:36 am lil-Inferno Post #5

Just here for the pie

Quote from name:zany_001
Wait what are the cave deaths for? I think you need to replace them with swarm.
Oh, my bad. Fixed.




Aug 25 2009, 8:37 pm AlbertW-RCDF Post #6



Ok, thank you very much.
However, I didn't know about that Basic of UMS Mapping...I think I must explore better the tutorials. Thanks everyone.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2025-5-05. : 9:24 pm]
Excalibur -- Sie is really really good and I'm glad Clans had them do the terrain for the new map. I feel like not enough of Sie's stuff will ever get used on a finished map.
[2025-5-05. : 3:37 pm]
lil-Inferno -- doing terrain was fun but also annoying
[2025-5-05. : 3:43 am]
l)ark_ssj9kevin -- I preferred the terrain and unit placing. And of course making the unit names have cool colors.
[2025-5-05. : 1:23 am]
NudeRaider -- http://staredit.net/381116/ it's funny, to me writing triggers was always the core of the (UMS) map making process and what actually made it fun to me. Creating terrain the least favorite part and thus I kept it pretty functional.
[2025-4-30. : 4:34 pm]
dumbducky -- Just gotta hit a few jackpots
[2025-4-29. : 6:29 pm]
Ultraviolet -- you are indeed broke
[2025-4-29. : 5:40 pm]
Zoan -- year is 2025 and I'm still mineral broke
[2025-4-29. : 1:39 pm]
Vrael -- or maybe you live in Australia so you're upside down?
[2025-4-29. : 11:25 am]
Oh_Man -- coz you're a bad learner?
Please log in to shout.


Members Online: Rawflesh0615