My hero died?
Dec 17 2009, 8:48 pm
By: Basteille  

Dec 17 2009, 8:48 pm Basteille Post #1



In my new RPG map, I intent to use all of the triggers in my bag of trigger tricks. There are some of these tricks I do not know... For example, when a hero dies... how may I save his spot as to not bother the player with having to find an unlockable respawn spot?

~Thanks.

(P.S. -> My "b" key isn't working, can anyone help me out? I hate copying and pasting for them. D:)



None.

Dec 17 2009, 8:51 pm Super Duper Post #2



Center a location on the hero?



None.

Dec 17 2009, 8:53 pm Jack Post #3

>be faceless void >mfw I have no face

You can just have a location always centered on the hero dies, and respawn the hero there.



Red classic.

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

Dec 17 2009, 8:54 pm Basteille Post #4



Quote from name:Ciara
Center a location on the hero?

It doesn't work like that, also I've noticed you're helping a lot in UMSMA, and... It's always help with triggers that could relate in some off way to a topic, but it's just plain wrong, centering a location doesn't justify that it's going to save the spot of the unit.

(It relates to it but it's not the whole trigger.)



None.

Dec 17 2009, 8:59 pm Jack Post #5

>be faceless void >mfw I have no face

OK, make a burrowed unit appear where the hero was, owned by player 9 or something, and then when you need to respawn, center the hero location on the burrowed unit and create a new hero. You DO have a location for each hero, right?



Red classic.

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

Dec 17 2009, 8:59 pm Apos Post #6

I order you to forgive yourself!

Center the location if the unit exist in that location.
If the unit isn't there, the location won't move.




Dec 17 2009, 9:13 pm Dungeon-Master Post #7



Something like:

Trigger 1
Condition: P1 commands one HERO

Action: Center location P1 LOC at HERO owned by P1 at ANYWHERE


Trigger 2
Condition: P1 commands 0 HERO
(Whatever you waht to be done for heroes to respawn)

Action: Create one HERO at P1 LOC

Edit: Don't forget to add preserve trigger!



None.

Dec 17 2009, 9:19 pm Neki Post #8



Quote from Apos
Center the location if the unit exist in that location.
If the unit isn't there, the location won't move.
This is correct. Either use a secondary location to do this, or use one of your main locations that you're probably going to center on the unit. As long as your unit exists in the location (or as long as you command a unit), center the location. If your unit no longer exists, the trigger will stop running, and the location will be centered on the last spot the hero was before he died/was removed.



None.

Dec 17 2009, 9:22 pm Marine Post #9



Quote from name:Lyoko367
It doesn't work like that...

Yes it does.
Do this:
Quote from Apos
Center the location if the unit exist in that location. If the unit isn't there, the location won't move.

Make sure that you don't have two of the same hero for the same player. Some rpg's have that hero on display somewhere else to indicate you're that hero.



None.

Dec 17 2009, 9:44 pm FlashBeer Post #10



Concerning the B key problem:
If you use [right click + paste] each time you want to type 'B'
you can instead hit the shortcut [Ctrl + V].
Conversely, you can use [Ctrl + C] to copy.



None.

Dec 17 2009, 9:55 pm Super Duper Post #11



Quote from name:Lyoko367
Quote from name:Ciara
Center a location on the hero?

It doesn't work like that, also I've noticed you're helping a lot in UMSMA, and... It's always help with triggers that could relate in some off way to a topic, but it's just plain wrong, centering a location doesn't justify that it's going to save the spot of the unit.

(It relates to it but it's not the whole trigger.)
Center the location on the hero. When it dies, the location stays in that spot.

Condition: Always

Action: Center location 1 on jim raynor

New Trig:

Condition:
Player commands 0 jims
(whatever)

Action:
Create 1 Jim raynor at location 1.
Preserve trigger.

This is correct. It will respawn the hero where it died. This is not wrong and while I may have 1 or 2 posts wrong every now and then does not mean I am clueless at map making.
If this is not what you are looking for, your original post wasnt clear either.



None.

Dec 17 2009, 9:55 pm Basteille Post #12



Quote from FlashBeer
Concerning the B key problem:
If you use [right click + paste] each time you want to type 'B'
you can instead hit the shortcut [Ctrl + V].
Conversely, you can use [Ctrl + C] to copy.

That's what I'm doing, I want an alternative option. o.o



None.

Dec 17 2009, 10:01 pm NudeRaider Post #13

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

- [Windows key] + r ==> charmap
- [Alt] + 98 (need to use keypad numbers!)
- buy a new keyboard. (recommended)

Also, the next one repeating the same (correct) solution will get his post deleted... -.-




Dec 18 2009, 8:13 am rockz Post #14

ᴄʜᴇᴇsᴇ ɪᴛ!

clean your keyboard.

If you always center a location on a unit, and the unit does not exist, the location will be centered in the middle of the map. That's why you need to turn off the center trigger when the unit isn't there. One method is via an arena location. If you don't bring the unit to the large location, the unit isn't there, and you shouldn't center the location. If the unit can't die via triggers, you can detect deaths instead.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Dec 18 2009, 9:43 pm InsolubleFluff Post #15



P1 brings atleast 1 <hero unit> anywhere;

Ceter p1 on <hero unit> owned by p1 at anywhere;
preserve trigger;
comment"";



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
Please log in to shout.


Members Online: Roy