Jump to content

Sanjo

Member
  • Content Count

    11
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Sanjo

  • Rank
    Private First Class

Recent Profile Visitors

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

  1. this execVM "bluforammo.sqf";
  2. Sanjo

    Arma 3 Notepad++ Syntax Highlighting

    Thanks for your feedback. Support for single quoted strings added. (as suggested by SicSemperTyrannis) The global default background color is now used. (as suggested by SicSemperTyrannis) Get it from: https://github.com/Sanjo/npp-sqf EDIT: I also added a folder "themes" for user contributed styles. Currently only the Zenburn one by SicSemperTyrannis. If you have created good custom styles and want to share them, just send them to me and I will add them to the repository.
  3. Sanjo

    Arma 3 Notepad++ Syntax Highlighting

    Maybe you need to update your Notepad++.
  4. Sanjo

    Arma 3 Notepad++ Syntax Highlighting

    Added auto completion for all function names and modified the syling (to a scheme I prefer). I created a repository on GitHub with installation instructions. You can download it from there. https://github.com/Sanjo/npp-sqf Orange is currently for global variables. But you can easily change this colors under "Language -> Define your own Language". The orange color is the default style color (= global variables, because everything else get other colors under the other settings).
  5. Sanjo

    Arma 3 Notepad++ Syntax Highlighting

    Hi, I did some improvements: Added all missing functions (based on https://community.bistudio.com/wiki/Category:Scripting_Commands) Added all BIS_fnc_* functions (in an extra keyword field) Added missing operators (the word versions too) Added support for block folding Added player, _x and _forEachIndex to magic words Have fun with it. Download: https://www.dropbox.com/s/x37r92umbpgxcx8/ArmA3.xml It would be nice if you could link it in your initial post and update it on Armaholic etc. (Just additionally credit me please)
  6. First: your grp_count is a killCount. Second: The if-condition in your while-block is never true. You may use this condition for determining if all units of the group are dead: {alive _x} count units _grp == 0 And make sure you run this check only on your server by wrapping it in if (isServer) then { ... }; You can use a boolean public variable (e.g. missionComplete = true) to notify the clients that all units are dead and that on each client the task hint should be displayed. http://community.bistudio.com/wiki/count http://community.bistudio.com/wiki/publicVariable http://community.bistudio.com/wiki/addPublicVariableEventHandler
  7. For disabling movement you can probably use http://community.bistudio.com/wiki/disableAI. Try to set the behaviour mode of the waypoint to CARELESS.
  8. Did you already read https://community.bistudio.com/wiki/Locality_in_Multiplayer? Additionally you should check the documentation for the commands you use. There are often remarks regarding multiplayer behaviour. (https://community.bistudio.com/wiki/Category:Scripting_Commands)
  9. fnc_areAllPlayersInVehicle = { private ["_areAllPlayersInVehicle"]; _areAllPlayersInVehicle = true; { if (isPlayer _x && alive _x && vehicle _x != _this) exitWith { _areAllPlayersInVehicle = false } } forEach playableUnits; _areAllPlayersInVehicle } Use a GetIn event handler to check if all players are in the vehicle when someone got in the heli. I didn't test the code.
  10. Sanjo

    AI Scripting

    Trigger Settings: Activation: Anybody (or one team) Repeatedly Present Condition: this && player in thisList ON ACT.: <Code that shows gunshop> ON DEA.: <Code that hides gunshop> Also you may have a look on the 404 wasteland gun shop code: https://github.com/domuk/Arma3-404Wasteland-Stratis/tree/master/client/systems/gunStore But it maybe too much.
  11. Hello, I figured out and wrote a tutorial about how to create something similar to classes in SQF. The solution I finally came up with and quite easy to implement and use. Have a look at it (https://github.com/Sanjo/SQF-Class-Tutorial). Constructive feedback is welcome.
×