Results 1 to 3 of 3

Thread: Why can't I attachTo bis_fnc_spawnvehicle?

  1. #1

    Why can't I attachTo bis_fnc_spawnvehicle?

    Code:
    _acexrusu27 = [getPos player, 90, "ACE_Su27_CAP", EAST] call bis_fnc_spawnvehicle; player attachTo [_acexrusu27,[0,0,0]];
    All that does is move the player under the plane(Its flying in the air) and make him unable to move his body sideways while he falls down to the ground. I want to attach him to the object not stick him under it and watch him die
    Any clues?

  2. #2
    Because BIS_fnc_spawnVehicle doesn't return an object, it returns an array.

    Code:
    _acexrusu27 = [getPos player, 90, "ACE_Su27_CAP", EAST] call bis_fnc_spawnvehicle; 
    player attachTo [_acexrusu27 select 0,[0,0,0]];

  3. #3
    Banned
    Join Date
    Aug 19 2012
    Posts
    48
    Author of the Thread
    Thanks a bunch

Similar Threads

  1. BIS_fnc_spawnVehicle and Groups
    By psvialli in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 4
    Last Post: May 21 2012, 23:06
  2. Is atrigger necessary for BIS_fnc_spawnVehicle?
    By rosentorf in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 11
    Last Post: Oct 23 2011, 11:18
  3. Need Help with BIS_fnc_spawnVehicle
    By Dragon Zen in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 6
    Last Post: Jun 20 2011, 07:39
  4. call BIS_fnc_spawnVehicle;
    By dale0404 in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 41
    Last Post: May 30 2011, 11:30
  5. BIS_fnc_spawnVehicle error
    By mrCurry in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 9
    Last Post: Feb 23 2010, 15:13

Posting Permissions

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