Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

script to stuck vehicles in Sky

script to stuck vehicles in S

  • Please log in to reply
2 replies to this topic

#1
snooop87

snooop87

    100+ Post Club

  • Forum Member
  • 123 posts
  • Country: Country Flag
  • snooop1987

dear 404 community,

 

i try to get an Function for SAVE VEHICLE , and i hide the vehicle ,because the Jit event and all comming player can see it , and if they  use it other player cant see him, now i want to   create a setpos to the Sky, where the vehicle will STUCK, so the vehicle down fall down, please help

 

- how can i set the position of an Vehicle in the sky and it will not falling down  ?

 

 





#2
snooop87

snooop87

    100+ Post Club

  • Forum Member
  • 123 posts
  • Country: Country Flag
  • snooop1987

i got this ,  only create an empty object 10k in Sky  and attach the vehicle with random numbers

vehiclesaveattach = "HeliHEmpty" createVehicle [0, 0, 0];
_xveh = typeof vehicleSave; player setvariable["saveVehicle",_xveh,true];
_nic = [nil, vehicleSave, "per", rHideobject, true] call RE; 
_position_attache = [random 3000, random 3000, (10000 + (random 3000))];
vehicleSave attachTo [vehiclesaveattach, _position_attache];

    hint format ["%1 saved to Hangar! (press L to spawn)", vehiclename];
    sleep 1;
    player globalChat "Vehicle Saved.";

Edited by snooop87, 02 August 2014 - 06:04 AM.


#3
KiloSwiss

KiloSwiss

    100+ Post Club

  • Forum Member
  • 455 posts
  • Country: Country Flag
Use a high positive number for the Z coords and then enableSimulation false on the object.
Check the Arty & Log script from R3F for more details.

Greezl




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users