Staredit Network

Staredit Network -> UMS Assistance -> Sprites cause problem..
Report, edit, etc...Posted by Staredit.Net Essence on 2004-12-01 at 18:28:16
heres my problem -
i have preplaced sprites throughout my map (of units, so they will be able to act when in-game) for the purpose of advanced HP wireframe effects, the problem is, even if that player isnt there, the sprites remain there, owned by that player... so how can you remove a unit if that player isnt there, and isnt owned by P12?
Report, edit, etc...Posted by StealthyDeath on 2004-12-01 at 18:31:00
I don't think sprites are affected by triggers, so you probably can't remove them via triggers.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-12-01 at 20:05:28
I think you can remove unit sprites since they sprites placed as units.
Report, edit, etc...Posted by Turin on 2004-12-01 at 20:31:39
Just have the trigger to remove the sprite owned by someone in the game or all players.
Report, edit, etc...Posted by DT_Battlekruser on 2004-12-01 at 20:33:42
Wrong, all wrong. This is an interesting note. Sprite-units and units created for a player without a start location (this is a player that is not here, too) are always hostile and cannot be affected by triggers. I read this somewhere and know it to be true.
Report, edit, etc...Posted by LegacyWeapon on 2004-12-01 at 21:03:55
What he said happy.gif

and to add more so it's not spam wink.gif
You can try and create a rock doodad and you can remove that, but it's risky tongue.gif
Report, edit, etc...Posted by Turin on 2004-12-01 at 21:30:04
OK, my understanding was that once a game started, sprite-units are treated as normal units. They have special things applied when the game starts, like modified HP and placement for unused players. But didnt know they were disregarded after that. I think I read that at one time, too. There were a few things that still worked for a player that left, as long as someone else has the trigger. You can give, create, and I think move units of that player's. Just try to experiment, like make a remove trigger and a kill trigger and some others to see what works. I am not so sure right now.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-12-01 at 21:35:47
gah, so far everything i have tried hasnt worked, im about to make a comp force that kills them, and remove them after like 2 seconds... this may be a problem though, because when i killed a forge on accident, it froze sc, it may cause problems like this if i try this...
Report, edit, etc...Posted by DT_Battlekruser on 2004-12-01 at 21:43:04
QUOTE(Turin @ Dec 1 2004, 06:30 PM)
OK, my understanding was that once a game started, sprite-units are treated as normal units. They have special things applied when the game starts, like modified HP and placement for unused players. But didnt know they were disregarded after that. I think I read that at one time, too. There were a few things that still worked for a player that left, as long as someone else has the trigger. You can give, create, and I think move units of that player's. Just try to experiment, like make a remove trigger and a kill trigger and some others to see what works. I am not so sure right now.
[right][snapback]105592[/snapback][/right]


Sprite units are not disregarded by triggers. Only units (including sprite units) owned by absent players or player with no start locations have this property.
Report, edit, etc...Posted by Turin on 2004-12-01 at 21:46:35
Ok. I learn something new every day biggrin.gif
And if you want a comp to kill it, then make it ally everyone in the game. So when the comps units attack, they dont kill anything else.
Report, edit, etc...Posted by SaLaCiouS(U) on 2004-12-01 at 22:05:58
That's not true Battlekruser, maybe you shouldn't talk about things of which you have no understanding. Units owned by players that aren't in the game CAN be affected by triggers, but triggers that run FOR that player will not run. You can make a trigger to give units to a player not in the game, or kill them, for another player.
Report, edit, etc...Posted by Staredit.Net Essence on 2004-12-01 at 22:16:10
so far my understanding is this:
P2 has the sprite units (P2 is not in game) heres the trigger

Trigger
Description:
Remove Sprites
Players:
¤ Any Player But Player 2
Conditions:
¤ Player 2 Controls No Units
¤  - or was it -
¤ Player 2 Controls No Preplaced Non-Sprite Unit
Actions:
¤ Remove or Kill Any Unit For Player 2
Report, edit, etc...Posted by DT_Battlekruser on 2004-12-01 at 22:24:56
QUOTE(SaLaCiouS(U) @ Dec 1 2004, 07:05 PM)
That's not true Battlekruser, maybe you shouldn't talk about things of which you have no understanding. Units owned by players that aren't in the game CAN be affected by triggers, but triggers that run FOR that player will not run. You can make a trigger to give units to a player not in the game, or kill them, for another player.
[right][snapback]105613[/snapback][/right]


Then why have I read something that said that?

QUOTE
What he said


And someone agrees?
Report, edit, etc...Posted by CheeZe on 2004-12-01 at 22:30:46
DT, a unit that doesn't have a start location can be affected. It's very simple proof, a player 12 unit by default has no start location, however, people still do the "split the units to the players" thing without it. See, you can still do things to units without a start location.
Report, edit, etc...Posted by SaLaCiouS(U) on 2004-12-01 at 22:31:01
It doesn't matter, it's not true, I have used triggers in MY MAPS which affect players not in the game. It doesn't matter what you think, if you actually made maps and knew anything about it you would know you are wrong.
Report, edit, etc...Posted by DT_Battlekruser on 2004-12-01 at 23:48:14
Congratulations! You have been inducted to the Flamer's Hall Of Fame! thumbup.gif

I made a mistake. CALM DOWN.
Next Page (1)