Jump to content


  • Content Count

  • Joined

  • Last visited

  • Medals

Community Reputation

6 Neutral

1 Follower

About NunesSergio

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for the thorough explanation and examples. I did see the documentation mentioning about "player" not existing in an dedicated MP scenario but... it works! The code, as I posted above, works on a dedicated MP session for every player. Probably not a best practice and maybe a low-performance solution but got the job done for now. As I am still learning and me and my friends sessions are not that performance-testing intensive, we'll probably continue using this untill I have time to test and implement your late suggestions. Thank you for the tips!
  2. In case my necessity is anyone else's, I put this in the Init field of the whiteboard: [ this, "HALO Jump", "\a3\ui_f\data\gui\cfg\CommunicationMenu\supplydrop_ca.paa", "\a3\ui_f\data\gui\cfg\CommunicationMenu\supplydrop_ca.paa", "player distance HJ < 4", // 'HJ' being the variable name of the whiteboard "true", {}, {}, { []execVM "myHALOJump.sqf" }, {}, [], 1, 6, false, false, true ] call BIS_fnc_holdActionAdd Then the first lines inside "myHALOJump.sqf" are using an almost identical code M1ke_SK taught me, and it goes like this: if (allPlayers findIf { typeOf _x in ["B_Helipilot_F"] } > -1) exitWith { titleText ["<t size='2.0'>HALO Jump is disabled while there is a <t color='#006bb3'>pilot</t> logged in", "PLAIN DOWN", 1, false, true]; breakOut "main"; }; If there are any BLUFOR NATO Helicopter Pilots (B_Helipilot_F) roles taken by any player then the script prints the titleText message and stops right there.
  3. Thank you all, Harzach, pierremgi and M1k3_SK! It worked like a charm. I followed Hazarch's advice and, instead of actively scanning for pilots all the time, I put it in the code param of a holdAddAction and that's just what I needed. Thank you, boys!
  4. NunesSergio

    GF Kill info Script

    Thanks anyway! Your scripts are awesome and have helped me build missions much more robust I could have ever done it myself.
  5. NunesSergio

    GF Kill info Script

    Hello there! I love this script but I can't get it working on my mission which has the recent vanilla revive mode enabled. I was expecting the messages to pop-up when a player is downed and enters the incapacitaded state, but nothing happens. I wonder if it's got something to do with different Event Handlers used for death and incapacitation, maybe?! Is there any way to get it working under these conditions?
  6. Hello there! I'm struggling to find the solution to my problem. Already googled a lot to no use. My friends and I have a dedicated server running a mission which has a HALO Jump SQF script. This script is tied to a whiteboard object. Basically we want the HALO Jump to be available only when there are no pilot roles taken. I can only think it must be something along the lines of filling an array with "typeOf allPlayers" and run "typeOf" through it to know if there's "B_Helipilot_F" in there, but I really can't wrap my mind around the syntaxes. Can anyone help? Thanks in advance!