Teams not moving when spawned and teleporters
#1
Posted 29 May 2010 - 04:30 PM
So lets start with my first problem:
1:
There are waypoints ( X and Y) and path (P)
I have made a team and made a timer, ok, so when the timer has run out the team will spawn at at X and follow the path (P) which goes from X to Y.
This sometimes works fine, however other times some of the troops from the team dont seem to move so they are simply left hanging around at X.
What do?
2:
I am trying to make a teleporter that takes all units that moves into an area get teleported to a waypoint.
However i dont know what action i should use when a unit enters that area because i dont have their names :/
This would work if i had named all my units and then checked if unit X or unit Y was inside the area but i want to be able to teleport all units.
What do?
#2
Posted 29 May 2010 - 10:41 PM
For two... well... I'd imagine units entering the area would have to be removed from the universe, which specifies them so you can name them, then use a script respawning them. But I've never done it before.
#3
Posted 29 May 2010 - 10:45 PM
#4
Posted 29 May 2010 - 11:14 PM
Gah, I remember there being some kind of 'reference' script where you can name the nearest unit of type XXX. Or something like that - haven't looked in about a year and a half
Yea i remember that one too however i cant find it...
[EDIT]
Ahh i found it... Its under Scripting>Reference
Edited by bergice, 29 May 2010 - 11:16 PM.
#5
Posted 30 May 2010 - 12:02 AM
Edited by bergice, 30 May 2010 - 02:05 AM.
#6
Posted 30 May 2010 - 11:14 AM
#7
Posted 30 May 2010 - 12:05 PM
#8
Posted 30 May 2010 - 07:52 PM
#9
Posted 31 May 2010 - 12:10 AM
Duh, duh duh duh, da' duh da' duh duh duh duh, duhh.
Interesting response.
#10
Posted 31 May 2010 - 02:17 AM
But did you figure out the second issue as well?
#11
Posted 31 May 2010 - 01:24 PM
Neh... I encourage evolved problem solving by civil unrest.
But did you figure out the second issue as well?
No, i cant see a possible way to do it.
#13
Posted 06 June 2010 - 02:10 PM
If Player_x/Team_x has units in Area_x
work?
My political compass
There's a story that the grass is so green...what did I see? Where have I been?
#14
Posted 08 June 2010 - 06:32 PM
#15
Posted 08 June 2010 - 09:18 PM
#16
Posted 09 June 2010 - 01:21 AM
My political compass
There's a story that the grass is so green...what did I see? Where have I been?
#17
Posted 09 June 2010 - 10:59 AM
#18
Posted 10 June 2010 - 02:12 AM
Edited by Devon, 10 June 2010 - 02:13 AM.
My political compass
There's a story that the grass is so green...what did I see? Where have I been?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users