How do you make a player not be able to move his own unit without making it owned by someone else. I've seen this done before but im not sure how without using like always issue order.. I want to do this on and off so like the player can control his unit then all the sudden can't move him, is this possible?
You can use hyper triggers and a 1x1 location centered on the unit. Then have the unit always move to that 1x1 location with hyper triggers.
Or could
| Trigger |
| Description: |
| Stop units |
|
| Conditions: |
| ¤ Player Brings x Unit to X location |
| Actions: |
| ¤ Give unit at location X owned by X to X |
then have some timer or Switch to give back the unit after the thing you wanna do is done.
beer kegs method is the most efficient way to do it.
dont do wellmad's method because its too long and may not work as well
If its owned by a computer use the StopAllAiCommands Ai Script, else i like the one where you have a location where they are, if they never move and if they are no longer there you move them back, else centre it on them.
QUOTE(Coop @ Nov 26 2004, 03:26 PM)
How do you make a player not be able to move his own unit without making it owned by someone else. I've seen this done before but im not sure how without using like always issue order.. I want to do this on and off so like the player can control his unit then all the sudden can't move him, is this possible?
[right][snapback]103721[/snapback][/right]
Do you need glasses Wellmad? Coko?
Wellmad missed in
redCoko missed in
orangeActually, he may of seen it, but not known it was being given to another player.
Like This.
| Trigger |
| Players: |
| ¤ Player 1 |
| Conditions: |
| ¤ Always |
| Actions: |
¤ Give All "Scourge" owned by Player 1 to Player 8
|
¤ Give All "Scourge" owned by Player 8 to Player 1
|
| ¤ Preserve Trigger |
It makes it unclickable, and unmoveable.
Whats a hyper trigger and how do you use them?
OOOOO, I used to use that trigger in some of my maps. Never new it was called hyper trigger. I usually use it when i have locations following a unit. Okay thanks.
What the mess? I know i replied to this.
Well err summery.
Constantly move the unit to a area over water, or some other place that they can't be moved to.
(PS, my first post was better written. It sucks doing things over again)
Bolt, SEN had a 20-minute relapse and all info in those 20 minutes was lost.
If you knew what the tutorials database was, then you probably would have found it.
QUOTE
Player 14:
- How to freeze time:
There are 2 ways of doing this. One which will literally freeze units, and one that will partially freeze units. To do the one to fully freeze pre-placed units, place a map revealer, interceptor, or scarab after placing the units you want frozen. The units placed before will be frozen. They can not die, or be controlled. Fog will run over it but you will still see it and be able to click on it. To do the one to partially freeze units, just simply place any ground unit on invalid terrain for player 14. When the game starts, it will say the unit was unplacable and all preplaced units would have been frozen, but will still look like they are moving and can be killed. Killing certain units using this method may crash the game. Fog will run over them like it does in the first method of freezing units.
How to freeze animation:
This is something different, as you can 'freeze unit animation'. Place a player 14 scanner sweep anywhere. Once that scanner sweep ends, all units that were moving will be stuck in their current animation. Note that if you kill any of these units, the game will crash.
http://www.staredit.net/index.php?act=tuto...2012+%20Effectswhat if you DISABLED the unit?....
is there a risk for crashes?..
just thought...
My first reply was removed too =X
@Deathknight, I didn't know about the tutorial database, but now I do.
-_-;