Home   Help Search Login Register  

Author Topic: Teleporting  (Read 1131 times)

0 Members and 1 Guest are viewing this topic.

Offline 22jacket

  • Members
  • *
  • I'm a llama!
Teleporting
« on: 11 Dec 2007, 11:24:19 »
Hi there I am trying to do an orientering map teleporting players from tent to tent ie they start of walking into tent get teleported to somewhere on island then find another tent etc...I can do players from ground into a heli ie moveincargo etc but how do I make  a player walking into a tent and being teleported to another tent, somewhere else on the mapxx


Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Teleporting
« Reply #1 on: 11 Dec 2007, 11:36:25 »
Use getPos on the destination tent to find out where it is and setPos on the player to move him.
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline 22jacket

  • Members
  • *
  • I'm a llama!
Re: Teleporting
« Reply #2 on: 11 Dec 2007, 11:59:56 »
okay cheers once again spooner..will have a read up up on getpos and setposxx :good: