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.
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
Please log in to shout.


Members Online: RIVE