Yeah, so, i wanna make this map where, say, if X unit dies, and he is, say, a medium-damage (edited of course) Ghost, which would be a dude with a sniper rifle, if he dies, he would drop say, a vespene sac symbolizing the sniper rifle, so that unit Z, who killed unit X, can go ahead and pick up unit X's sniper rifle, being able to equip it himself and become a Ghost (let's say before, he was "assault rifle" (Marine).
Thing is, i need a location to always be below each unit so that, if the above scenario or any similar one happens, the unit that died will drop it's "current weapon" on the place he died, not anywhere else.
And i know this will all probably sound silly, but i really don't know how to do it and need help understanding it.
I'm using Scmdraft 2 for this.
None.
Ez Ez Ez Ez, me can halp
Use the condition: ''Player?! commands at least one ''Ghost''
Action: Center location labeled ''X'' on Ghost owned by ''Player?!''
Preserve Trigger
This will make the location follow the unit everywhere, but it will stand still when the unit dies/is removed, instead of being centered in the middle of the map.
None.
Wow... Well thanks for the help. I really didn't think it would be so simple to fix my problem.
Anyways i'll get onto it and i'll put your names on the credits even if it's a small map,
.
Post has been edited 1 time(s), last time on Dec 21 2009, 4:49 am by Kaaysel.
None.
Kind of interesting how much everyone connected on sen literally jumps on any help request
Edit: It really isn't necessary, if I would've put every helping guy's name on my maps... I'd be still working on my first map!
None.
You get minerals for posting? 0.o.
None.
If you have premium, yes.
On a side note, do you have more than one modified ghost per player on your map? If you do, these triggers won't work. Only the leftmost ghost will drop his rifle due to the way SC selects units for actions.
None.
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
The mineral system has been ripped out. Spamming won't get you anything besides the moderator's wrath.
>> Locked