HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

command point teleportation

12-26-2006, 04:14 PM#1
jacemm7283
well, i havent been around here much, but ive been dabbling with WEU for some time now. i have gotten pretty good at creating very rich and beautiful maps, but i lack trigger knowledge.

basically, i have a command point map with portals leading you to the command points that you control. what i neeed help with is the triggers choosing the command point. there is a small area in wich you can select what command point you want to go to, but i dont even know where to start with the triggers for it. (you select which portal to go to with a dummy unit in a small section of the map, then, all the units that use the portal go to that specified area)

any help would be great.

Jace
12-26-2006, 04:25 PM#2
Fireeye
Uhm, i don't really get what you mean...
Do you want to set the target point for a portal to the target point of the dummy unit and then to order all units to move there?
I hope this is what you look for.
Trigger


Trigger:
Set Target
Collapse Events
Unit - <Your Unit> Is issued an order targeting an object
//Use your dummy unit in <Your Unit>
Collapse Conditions
Collapse And - All (Conditions) are true
Collapse Conditions
(Owner of (Target unit of issued order)) Equal to (Owner of (Triggering unit))
(Unit-type of (Target unit of issued order)) Equal to <Your Unit-Type>
//Use the allowed target unit types here @ <Your Unit-Type>
Collapse Actions
Set temp_point = (Position of (Target unit of issued order))
Set Target[(Player number of (Owner of (Triggering unit)))] = temp_point
call RemoveLocation(udg_temp_point)
//Put here the rest of your commands

12-26-2006, 05:02 PM#3
jacemm7283
the dummy unit goes to a telepot selector. then, all units that enter the teleporter go to the corisponding section of the map.

im not sure if that helped any.
Attached Images
File type: jpgmap example.JPG (7.2 KB)
12-30-2006, 05:51 AM#4
jacemm7283
bump

i really wanted to finish this map sometime soon. any help?
12-30-2006, 06:29 AM#5
Zandose
Just make a trigger for when a unit gets within 100 distance to teleports somewhere.

For the teleporter selectors make dummy abilities for all the different places the teleporter can teleport to. Now when someone selects a ability just change the teleporter to that place.