So far the only program I found that lists them in that way, is SCMToolkit (look in outdated programs)
So it won't work for units made through triggers
?
QUOTE(DEAD @ Dec 13 2005, 12:53 PM)
So it won't work for units made through triggers
?
[right][snapback]378014[/snapback][/right]
It will if you can predict what slot on the unit table that unit will fall in...
[attachmentid=17047]No, only the unit offset aka unit ID. If this helps at all... see my attachment for a program that will tell you the unit ID of the unit you have selected in-game...
Final Edit : I updated it for patch 1.13f it now correctly displays unit offset in hex, and displays unit table number without errors. To use make a game, select unit, it will print the information on your screen. (Smaller file size
more efficient
)
So if I have a map with like 10 buildings(I place them first)
And like 40 different units can die spawn any time(like a teamplay CTF map)
I make triggers from 11-50 unit ID and it will work all the time?
The problem with that is... If you do not know what exact place the targeted unit(s) will fall in... your idea is to just use a batch of triggers to run through a range of units ("11-50") , but you won't know what units are in there so you would just be doing things blindly.
Well, I see no other way how to use this in map where shooting units can die...
You can implement it in maps like RPGs, where the hero is preplaced, and if it dies, it doesn't matter because it's Game Over anyway.
And I had such a good idea
You can always respawn them in the order that they originally were (or if nothing else has been touched, then just respawn them like normal).
QUOTE(DEAD @ Dec 13 2005, 06:29 PM)
And I had such a good idea
[right][snapback]378167[/snapback][/right]
You could always preplace the units and just move them.
The idea is to make sure that the unit slots are always refilled in their same order. Syphon's idea would result in making multiple EUD triggers and perhaps a lot more work.
Slot 1 - Marine
Slot 2 - Ghost
Slot 3 - Goliath
So the Marine dies.
Slot 1 - Blank
Slot 2 - Ghost
Slot 3 - Goliath
You spawn another Marine
Slot 1 - Marine
Slot 2 - Ghost
Slot 3 - Goliath
The only problem is when both a Marine and a Ghost die, you will need to make sure the trigger order is Marine before Ghost before Goliath.
Then it should work pretty perfectly.
Can't it be made so it count's down shots for any unit who it spawned by that ID?
I don't get the exact formula here. In Uber@tion, how do I figure out what numbers to type in?
QUOTE(urmom @ Dec 13 2005, 08:57 PM)
I don't get the exact formula here. In Uber@tion, how do I figure out what numbers to type in?
[right][snapback]378315[/snapback][/right]
Read the first post. If you still don't get it, post again
QUOTE(DEAD @ Dec 13 2005, 07:27 PM)
Can't it be made so it count's down shots for any unit who it spawned by that ID?
[right][snapback]378232[/snapback][/right]
Yes. That's exactly what it's doing now.
Slot 1 - Marine
Slot 2 - Something else
Slot 3 - Something else
If you wanted to change weapons or whatever, you just go "Remove 1 Marine, Create 1 Ghost"
You wouldn't need to worry about it messing up the slot order because triggers don't let anything happen in-between actions (at least I'm pretty sure of this).
It'd end up like:
Slot 1 - Ghost
Slot 2 - Something else
Slot 3 - Something else
If we delete units in a map, does it dlete their unit table entries?
I.E, if i placed a ling, delted it, and placed a hydra, would the hydra be Unit #1?
I would think so. I'd use SCMToolkit to check.
I don't want to interupt if I am sorry... but you said before that as long as the units followed in the exact order then everything should run perfectly. I don't know if you were saying that the design of a trigger to that would be pretty hard or easy but DEAD if you need help on a trigger like that I think I could help you out a little. Once again sorry if I interopted. QUOTE(Joshgt2 @ Dec 14 2005, 01:12 PM)
I don't want to interupt if I am sorry... but you said before that as long as the units followed in the exact order then everything should run perfectly. I don't know if you were saying that the design of a trigger to that would be pretty hard or easy but DEAD if you need help on a trigger like that I think I could help you out a little. Once again sorry if I interopted.[right][snapback]378575[/snapback][/right]
No offence, but help with what?
Anyway Legacy, would it work if a unit by the same ID is spawned for different player? How to detect for which player unit spawned? Is there EUD condition for that?
QUOTE(DEAD @ Dec 14 2005, 01:59 PM)
No offence, but help with what?
Anyway Legacy, would it work if a unit by the same ID is spawned for different player? How to detect for which player unit spawned? Is there EUD condition for that?
[right][snapback]378678[/snapback][/right]
It doesn't matter what unit is there. It doesn't matter who owns it or what effects it has on it. It will detect cooldown all the same.
There is no EUD conditions for Player owner or Unit type yet (at least I don't think so).
Any idea how to make it?
- Units can spawn for player 1-8
- Possible ID range 10-50
- Any ground unit
How to make it, so ammo is subtracted for the right player?
Ok, tell me if I'm wrong, but say I wanted to do it for the 5th unit placed. I would do 65536 multiplied by 5? Would that be it?
Or would it be (65536*5)*3?
I hate that idea, how you can only impement the triggers for only certain unit slots, and you have to "refill" those slots with spawned units. But yea, that's pretty much cool.
QUOTE(urmom @ Dec 14 2005, 05:53 PM)
Ok, tell me if I'm wrong, but say I wanted to do it for the 5th unit placed. I would do 65536 multiplied by 5? Would that be it?
Or would it be (65536*5)*3?
[right][snapback]378847[/snapback][/right]
It would be 65536 * 3 for every single unit. You change the unit placed in another option...