Staredit Network

Staredit Network -> UMS Assistance -> Player not able to move his unit
Report, edit, etc...Posted by Coop on 2004-11-26 at 18:26:02
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?
Report, edit, etc...Posted by BeeR_KeG on 2004-11-26 at 18:30:17
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.
Report, edit, etc...Posted by WellMad on 2004-11-26 at 18:35:21
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.
Report, edit, etc...Posted by Urmom(U) on 2004-11-26 at 18:39:18
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
Report, edit, etc...Posted by .Coko[CK] on 2004-11-26 at 18:53:03
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.
Report, edit, etc...Posted by DT_Battlekruser on 2004-11-26 at 18:55:15
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 red
Coko missed in orange
Report, edit, etc...Posted by MindArchon on 2004-11-26 at 19:06:48
Actually, 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.
Report, edit, etc...Posted by Coop on 2004-11-27 at 00:12:55
Whats a hyper trigger and how do you use them?
Report, edit, etc...Posted by DT_Battlekruser on 2004-11-27 at 00:31:43
yay, I get to answer it this time. Maybe the SEN relapse was a good thing tongue.gif

http://www.staredit.net/index.php?act=tuto...yper%20Triggers
Report, edit, etc...Posted by Coop on 2004-11-27 at 00:37:14
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.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-11-27 at 00:47:10
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)
Report, edit, etc...Posted by DT_Battlekruser on 2004-11-27 at 01:17:00
Bolt, SEN had a 20-minute relapse and all info in those 20 minutes was lost.
Report, edit, etc...Posted by Deathknight on 2004-11-27 at 10:19:07
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+%20Effects
Report, edit, etc...Posted by Foamy on 2004-11-27 at 11:57:14
what if you DISABLED the unit?....
is there a risk for crashes?..

just thought...
Report, edit, etc...Posted by Coop on 2004-11-27 at 14:20:29
My first reply was removed too =X

@Deathknight, I didn't know about the tutorial database, but now I do.
-_-;
Next Page (1)