Jump to content

SOFTACT

Member
  • Content Count

    35
  • Joined

  • Last visited

  • Medals

Everything posted by SOFTACT

  1. Sorry if this was already asked, but im having 2 problems. When i do a normal EOS, spawned units inside of a town end up dying or just not spawning, leaving me with 2 or 3 guys when i requested 20+. Also with bastion: It wont get out of debug mod, nor is there any directions on how to disable debug mode. Any help would be appreciated!
  2. Hi there, I am trying to make a mission where if you dont locate and dis-fuse the bomb, it will detonate. I got all perms set up and mission. Just need to find a way to blow up the town? Im kinda new at scripting, so any help would be nice. Thanks.
  3. SOFTACT

    Whitelist Script

    I thank you so much for your help. So this is what i got so far: waitUntil {!isNull player}; WhiteListArray = ["LT.Bennett.k"]; sleep 1; systemChat name vehicle player; //Assuming WhiteListArray contains a list of player names that are allowed to enter vehicles { if (WhiteListArray find (name vehicle player) == -1) then { _x addEventHandler ["GetIn", { if ((_this select 1 == "driver")&&((vehicle player) != player) and (alive player)) then { player action ["eject", vehicle player]; waitUntil {sleep 0.5; vehicle player == player}; player action ["engineOff", vehicle player]; hint "You must be a pilot to fly!"; }; }]; }; } foreach entities "I_Heli_Transport_02_F" "B_Heli_Transport_01_F"; So that is for DRIVER, waitUntil {!isNull player}; WhiteListArray = ["LT.Bennett.k"]; sleep 1; systemChat name vehicle player; //Assuming WhiteListArray contains a list of player names that are allowed to enter vehicles { if (WhiteListArray find (name vehicle player) == -1) then { _x addEventHandler ["GetIn", { if ((_this select 1 == "gunner")&&((vehicle player) != player) and (alive player)) then { player action ["eject", vehicle player]; waitUntil {sleep 0.5; vehicle player == player}; player action ["engineOff", vehicle player]; hint "You must be a pilot to fly!"; }; }]; }; } foreach entities "I_Heli_Transport_02_F"B_Heli_Transport_01_F""; And thats for Gunner(co-pilot). That only problem i am having is making multi aircraft i am limiting. } foreach entities "I_Heli_Transport_02_F"B_Heli_Transport_01_F""; That right there i cant figure out, it will always block "I_Heli_Transport_02_F", but not the other one. Or do i have to have 1 for every type of vehicle?
  4. SOFTACT

    Whitelist Script

    How do indicate for driver and copilot for i can have others enter the chopper? Im getting it to work, just cant figure out the eventhandler thing. from what they say: Passed array: [vehicle, position, unit]
  5. SOFTACT

    check if an object is hit

    Thank you much, now anyone know how i can select an object without a name? Like within a trigger.
  6. SOFTACT

    check if an object is hit

    How did you do this? Where do i add the: _object addeventhandler ["hitPart", {hint "hit";}];
  7. SOFTACT

    Whitelist Script

    Could you go in more depth? Sorry kinda new. Trying to whitelist a Helicopter
  8. Hi there, I've been searching the forums for something (and about 2 hours on google) on how to Whitelist Planes and Helicopters. I help run a Tactical Realism group, and we keep stuff close-net. We've decided to whitelist the planes and helicopters to prevent ruining public ops or encourage TK. Anything will help, A trigger preventing non-GUID's from entering, or vehicle locks. Just need something that i can delegate certain people in my Airforce to use. Thanks!
  9. SOFTACT

    Whitelist Script

    Could you link me anywhere that i could get this?
  10. SOFTACT

    Whitelist Script

    I am looking for a way to whitelist helicopters and planes on my server. This way does not seem to work :/
×