Staredit Network

Staredit Network -> UMS Assistance -> move locations
Report, edit, etc...Posted by Urmom(U) on 2004-09-18 at 21:20:44
ok well first i should tell u why i need the help. im making an arena type map but im adding special abilities. one of them is that 2 scarabs will appear from the players unit.

when you die you get to choose a new unit. this is where the problem is. i dont know how to make the location that will be centered on the players units(they will only command one) when they respawn each time.

can anyone help?
Report, edit, etc...Posted by Vindexus on 2004-09-18 at 22:10:46
Um, couldn't you just do this

Trigger
Players:
¤ P1
Conditions:
¤ Current player commands at least 1 men
Actions:
¤ Move location 1 Guy on men owned by Current player at anywhere
¤ preserve trigger
Report, edit, etc...Posted by xtremebob on 2004-09-18 at 22:24:39
I don't quite under stand what you mean by the 2 scarab thing, but I hink I can help with your movement trigger.


null
Trigger
Conditions:
¤ When player x controls exactly 0 unit x
Actions:
¤ Move view to location x
¤ preserve trigger
Report, edit, etc...Posted by Staredit.Net Essence on 2004-09-18 at 22:49:16
It would be like he trigger mentioned by Vindexus. I don't think you can make 2 scarabs at that location. You have to have them somewhere else coming out of reavers, and move 2 of them to the location. I guess that might work.
Report, edit, etc...Posted by nyczdigga on 2004-09-18 at 23:52:27

Trigger
Description:
Move location
Conditions:
¤ Current player commands exactly 0 anyunit.
Actions:
¤ 
movelocation scarab on location1 for currentplayer at anywhere
Create (unit is the fighter) at location for currentplayer
wait(1000);
Create 2 scarab at location1 for currentplayer
Preserve trigger


If the scarabs are following the fighter do this.


Trigger
Description:
Following fighter
Conditions:
¤ Current player commands exactly 0 fighter.
Actions:
¤ 
movelocation (fighter unit) on location for currentplayer at anywhere
order move scarab from anywhere to location
Preserve trigger
Report, edit, etc...Posted by Urmom(U) on 2004-09-19 at 10:35:58
ok i shouldve said it in more detail. each player commands two civilians and i have the reavers shooting the scarabs and teleporting them to a location. i just want the location following each plaers unit on the battlefield. thanks for those suggestions already though.
Report, edit, etc...Posted by x BakaPeter x on 2004-09-19 at 11:31:09
Players
Condition:
Player commands atleast 1 "the unit you want the location following"
Action:
(Move Location)
Center Location Label "follow" on "the unit you want the location following" at "Anywhere"
PreserveTrigger

Optional:
Condition:
Player commands atleast 1 "the unit you want the location following"
Action:
Center View at "follow"
PreserveTrigger();
These Thing have already been mentioned by it does make the location follow the unit.

Or... If you want it like this
Players:
Player commands atleast 1 "the unit you want the location following"
Action:
(Move Location)
Center Location Label "follow" on "the unit you want the location following" at "Anywhere"
PreserveTrigger

Players:
Players command atmost 0 "the unit you want the location following"
Action:
Create 1 "the unit you want the location following" at Follow.
PreserveTrigger
Dont use Always condition. otherwise it messes things up.
Report, edit, etc...Posted by EzDay281 on 2004-09-19 at 11:49:48
Okay, I didn't read all the posts, but...

Just have 1 follow trigger for every unit he can be.
Like if you can choose Firebat, Zergling, and Zealot, than just have:

PLayer commands 1 Lot
Move Location

Player Commands 1 Ling
Move Location

Player commands 1 Bat
Move Location
Report, edit, etc...Posted by Urmom(U) on 2004-09-19 at 17:39:47
ok thanks for the help but one more thing, is there a way to make it just one trigger or should i just make it multiple triggers?
Report, edit, etc...Posted by NeoNightmareX on 2004-09-19 at 17:51:44
there is a way but i say make multiple, because the game triggers might be confused cause it might perform the action 3 times (one for each unit)
Report, edit, etc...Posted by Urmom(U) on 2004-09-19 at 19:34:17
ill try that ill post another if it doesnt work smile.gif
Report, edit, etc...Posted by Ninja)be( on 2004-09-25 at 16:22:07
c: always
a: center location labeled x on unit x at anywhere
i think thats how u do it but the scarabs or whatever will appear on the unit which would be the middle of the location they wont appear in front of him
Next Page (1)