Search the Community
Showing results for tags 'curatorobjectplaced'.
Found 2 results
global [Sovled]Global addEventHandler "CuratorObjectPlaced"
rkemsley posted a topic in ARMA 3 - MISSION EDITING & SCRIPTINGHow would I turn this short script global. Basically, I need these mines, when placed by any Curator on the map, to lose the ability to be edited by the Curator who placed it. Currently, I have this short piece of code located in my "initPlayerLocal.sqf", however, when I test my multiplayer map using the "arma3server_x64.exe", it doesn't remove the ability for me to edit the mines after they are placed. Please help!
rkemsley posted a topic in ARMA 3 - MISSION EDITING & SCRIPTINGThis script adds every unit placed, by one of the four BLUFOR Curators, to every BLUFOR Curator on the map. I was wondering how I would make it so that this script would add Curator-placed units to all allied Curators on the map. For example, if I had three teams, who are all enemies, (BLUFOR, OPFOR and Independent) and each team has three players (ZeusBLUFOR001_Curator for BLUFOR, ZeusOPFOR001_Curator for OPFOR and so on). How would I add these players to a "group" which can then be used in the above script to add each placed unit by one of the players to all their allies? Do I need to create three arrays and add the Curators (so if I plan to create or remove Curators, I can adjust appropriately), and if so, how? Something like: Array 1 - Curator_west Array 2 - Curator_east Array 3 - Curator_independent Then I was hoping I could write: Then addCuratorEditableObjects to the Curators which are in their associated array (group).