Staredit Network

Staredit Network -> UMS Assistance -> Damn aimer!
Report, edit, etc...Posted by Vampire(MC) on 2006-03-13 at 17:11:07
I'm trying to set a range limit for grenade/rocket fire(also keeps the obs from falling behind as it will be moved back to the hero when it's out of range). So I made an observer that acts as the aimer. I set up a location that constantly centers over the hero and wrote the trigger:
Trigger
Description:
Aim limit
Players:
¤ Player 2
Conditions:
¤ Player 2 brings exactly 0 Grenade/Rocket aimer to Aim Limit
Actions:
¤ Move 1 Grenade/Rocket aimer for player 2 at anywhere to Demo


Demo: Location constantly centered over the hero
Grenade/Rocket aimer: Observer
Aim Limit: Larger location constantly centered over the hero

But the aimer doesn't move back to the Hero when it's out of range cry.gif

Solutions?
Report, edit, etc...Posted by Urmom(U) on 2006-03-13 at 17:16:47
Maybe the unit you placed is for the wrong player?

There is a better way to do this too. Have it so a location is being centered around the ovserver too. When the player brings exactly 0 observer to the location, order the observer to move to the location repeatedly so that it stays in place instead of moving back to the player. This way the player doesn't get frustrated because they move it too far and get moved back, instead it will just be stuck in place until you move it back into the big location or have the hero walk closer.
Next Page (1)