I tryed one tutorial that is showing how to teleport my soldier to other location (path node name) however its not working when i try to teleport myself while pilothing a flying vehicle.If someone know how to do it please tell me.
This is the code i am using for the teleport in my lua.
--A single teleport
local region = GetRegionLocation( "region0" )
local destination = GetPathNodeDestination( "cp4_spawn", 0 )
SetupEnterRegionTeleport( region, destination, 0, 0 )
ActivateRegion( "region0" )
How to make it so i can teleport while flying vehicle?
How to teleport to other location with flyer?
Moderator: Moderators
- Ginev
- Command Sergeant Major
- Posts: 260
- Joined: Thu Apr 02, 2009 7:02 am
- Projects :: Remaking FR Battlefront 3 Tatooine map.
- xbox live or psn: No gamertag set
- Location: Bulgaria