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.
[04:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[10:02 pm]
Symmetry -- I was really just figuring out how to compile
[10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
[2026-5-31. : 2:55 pm]
Moose -- >reddit :rip2:
[2026-5-31. : 2:07 pm]
IskatuMesk -- reddit 💀
Please log in to shout.


Members Online: DarkenedFantasies