DarkSniper
Grunt
Posts: 2
Registered: 8-10-2007
Member Is Offline
|
|
How to use telegroup
I hava set events in mapeditor:
==============
if group1 leve arena1, move group1 to target1.
==============
and write WAC:
================
if grouparea(1,1) and never() then
telegroup(1,1)
endif
================
but it doesn't work in the game.
|
|
|
Eagle_Eye
|
|
telegroup and grouparea don't exist to my knowledge...and are not valid wac commands.
Do this in an event.
|
|
|
ozferal
Captain
  
Posts: 276
Registered: 2-4-2004
Location: Yorke Peninsula, South Australia
Member Is Offline
Mood: Bear Hunting
|
|
Are you trying to teleport AI or players?
Either way, why make it harder using a WAC when it's all there in the editor?
Event 1: Event 1
Triggers:
Group 1 is within area 1
Actions:
Teleport group 3 to target 1
Event 2: Event 2
Triggers:
Group 1 is not within area 1
Actions:
Teleport group 3 to target 1
|
|
|
DarkSniper
Grunt
Posts: 2
Registered: 8-10-2007
Member Is Offline
|
|
I'm trying teleport players in a TDM map
thanks for your reply.
I will try it again in your way
|
|
|
Eagle_Eye
|
|
Teleport is a Single Player thing when it comes to Human Players.
ALL human players are group 1, regardless of what team they are on..
If you teleport group 1 to a target, then you will have ALL the players teleported to the target.
Red team in the Med, is for AI.
Even if you change the Red Team Spawn Marker to Red Team, or Group 2, when the game starts, all Human will be Group 1.
We can only assume it was written this way so that unfair advantage can't be given to a particular Team.
If you teleport ssn 10000, only the host will be teleported.
EE
|
|
|