Staredit Network

Staredit Network -> UMS Assistance -> Teleportation
Report, edit, etc...Posted by Staredit.Net Essence on 2005-07-02 at 03:56:20
How Do u Teleport A Unit Into A Differnet Designated Area?
Like In A Ums Map for instance Teleport a SCV To A Mineral Field.
huh.gif ohmy.gif confused.gif helpsmilie.gif
Report, edit, etc...Posted by InfusedEMP on 2005-07-02 at 04:15:23
Set up two locations, one in the area you want to teleport from, and one in the area you want to teleport to. Make a trigger with:

Conditions:
Current Player brings at least 1 (unit name) to location 1

Actions:
remove 1 (unit name) at location 1
create 1 (unit name) at location 2
preserve trigger
Report, edit, etc...Posted by AqoTrooper on 2005-07-02 at 05:29:32
QUOTE(InfusedEMP @ Jul 2 2005, 11:15 AM)
Set up two locations, one in the area you want to teleport from, and one in the area you want to teleport to.  Make a trigger with:

Conditions:
Current Player brings at least 1 (unit name) to location 1

Actions:
remove 1 (unit name) at location 1
create 1 (unit name) at location 2
preserve trigger
[right][snapback]250508[/snapback][/right]

Ugh... this will also refresh the unit's states.

You should insted do:

Conditions:
Current Player brings at least 1 -unit- to 'location 1'

Actions:
Move all -unit- owned by Current Player at 'location 1' to 'location 2'
Report, edit, etc...Posted by JackLord on 2005-07-02 at 14:25:36
Trigger
Conditions:
¤ Current Player brings at least 1 unit to 'location 1'
Actions:
¤ Move all units owned by Current Player at 'location 1' to 'location 2'

Report, edit, etc...Posted by indecisiveman on 2005-07-02 at 16:17:33
Also remember to preserve trigger if you want more than one unit to be transportable.
Report, edit, etc...Posted by Devil_O_Duce on 2005-07-02 at 17:54:54
QUOTE(indecisiveman @ Jul 2 2005, 02:17 PM)
Also remember to preserve trigger if you want more than one unit to be transportable.
[right][snapback]250879[/snapback][/right]


can anyone say (center view)?!?!?!?!?
Report, edit, etc...Posted by indecisiveman on 2005-07-02 at 18:01:56
QUOTE(Devil_O_Duce @ Jul 2 2005, 01:54 PM)
can anyone say (center view)?!?!?!?!?
[right][snapback]250935[/snapback][/right]


Why would he center view...
Report, edit, etc...Posted by Mr.Kirbycode774 on 2005-07-02 at 18:19:39
Actually, center viewing depends. If the game it's used it is an "RPG", then it should be center viewed. On the other hand, if that's a teleport for a massing game, then you shouldn't center view it.
Report, edit, etc...Posted by Raindodger on 2005-07-02 at 22:57:07
If you want certain units to be teleported you could do

Conditions:
Current Player brings at least 1 [Unit] to 'location 1'

Actions:
Move all [Unit] owned by Current Player at 'location 1' to 'location 2'

If you want any unit just do

Conditions:
Always

Actions:
Move all [Unit] owned by Current Player at 'location 1' to 'location 2'
Preserve Trigger
Report, edit, etc...Posted by Heimdal on 2005-07-03 at 04:08:31
Wrathlord, those two triggers will do exactly the same thing. The only difference is that if you don't have hyper triggers, the bottom one won't react as quickly as the top one will.

One of my biggest pet peeves is when a map maker doesn't center view when moving your only unit. Don't forget it!
Report, edit, etc...Posted by in_a_biskit on 2005-07-03 at 08:23:23
Why will the bottom one be slower, Heimdal? It doesn't even have a real condition to check... StarCraft checks all its triggers in one go, it doesn't check any conditions more often than any others.
I would think that the two would be equally fast-reacting, except that the top one is nicer.
Next Page (1)