Announcement

Collapse
No announcement yet.

Mission Editing Video Tutorials

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [VIDEO] Mission Editing Video Tutorials

    How to set up teleporting in your mission.



    The init of the flagpole:
    Code:
    this addAction ["Teleport Mine", "teleMine.sqf"];
    The teleMine.sqf:
    Code:
    //teleMine.sqf
    //to teleport player to marker mine1
    
    _tele = _this select 0;
    _caller = _this select 1;
    
    _caller setPos (getPos (mine1));
    hint "Player has teleported.";
    |TG-189th| Unkl
    ArmA 3 Game Officer
    Dean of Tactical Gamer University
    189th Infantry Brigade Member
    SUBMIT A RIBBON NOMINATION OR CONTACT AN ARMA ADMIN
    "We quickly advance in the opposite direction and take cover in a house on the SW side of town." - BadStache

  • #2
    Re: Mission Editing Video Tutorials

    Originally posted by Unkl View Post

    The init of the flagpole:
    Code:
    this addAction ["Teleport Mine", "teleMine.sqf"];
    The teleMine.sqf:
    Code:
    //teleMine.sqf
    //to teleport player to marker mine1
    
    _tele = _this select 0;
    _caller = _this select 1;
    
    _caller setPos (getPos (mine1));
    make sure that the marker (mine1) is an object. if it is a marker (f6) then mine1 will need to be a string ("mine1") and use GetMarkerPos instead of GetPos (getmarkerpos "mine1")
    Yink | Vanilla Pilot | Killer of Stirling | CS GOD | Projects Team

    Comment


    • #3
      Re: Mission Editing Video Tutorials

      Can we put those in patrol ops? :D
      "Anyone who has never made a mistake has never tried anything new."
      -Einstein

      Comment

      Connect

      Collapse

      TeamSpeak 3 Server

      Collapse

      Advertisement

      Collapse

      Twitter Feed

      Collapse

      Working...
      X