Results 1 to 4 of 4

Thread: How to make the PLAYER move without control?

  1. #1

    How to make the PLAYER move without control?

    Hi everyone, I have a question for you guys that I couldn't get an answer to:

    How can I make the player move without my control? For example, a group of 5 guys, including the player, land on a beach. At this moment, I want a cutscene to be executed and I want the player walking by himself to a precise waypoint. So let's say, going from point A to B without any of my interactions.

    Thanks a lot,
    StOrD

  2. #2
    This might do it, if I correctly understood your wishes:

    1. Add this to your init.sqf:
    Code:
    onTeamSwitch "selectPlayer (leader _from); {_x doFollow leader _from} foreach units _from; selectPlayer _to;";
    (see this thread for explanation)

    2. Add a playable unit well away from any action - say a civilian medic, with this allowdamage false; in the unit's init field (just in case )

    3. Give your player group appropriate waypoints

    Start the mission & at the relevant time, team switch to the civ. The player group should continue along the waypoints. You can switch back when ready.

  3. #3
    Oh well, it worked perfectly.

    Thanks a lot m8, you also answered another question I had!

    Hace a nice day,

    Regards,
    Stord.

  4. #4


    ..but what was "the other question"? (nice to know I killed 2 birds with 1 stone even if I only saw one!)

    PS, forgot to say

Similar Threads

  1. Disable player move?
    By stephen271276 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 7
    Last Post: Mar 12 2011, 23:41
  2. How to: Player should not be able to move
    By Wiggum in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 8
    Last Post: Mar 26 2010, 23:05
  3. Move player during cutscene
    By hardrock in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 9
    Last Post: Jan 30 2004, 00:08
  4. Ai takes control of player
    By DestroyerX in forum OFP : MISSION EDITING & SCRIPTING
    Replies: 10
    Last Post: Apr 17 2002, 14:57
  5. Player and vehicle Control
    By Ice Rhino in forum OPF MISSIONS
    Replies: 1
    Last Post: Nov 26 2001, 00:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •