thecrestedpenguin 10 Posted April 9, 2016 I am looking into a script that should work like this 1. Person scrolls over a object which then gives the action menu option to " Take Flag " 2. a Flag or Smoke will spawn on the persons back and he can run with it 3. He takes it back to a base to scroll on an object saying "Put flag/Smoke away" 4. Everyone gets a popup " Blue/Red Team wins: " I've been looking into this but can't find anything on how to do this, If someone could help out or give such a script that'd be very much appreciated. Thank you! Share this post Link to post Share on other sites
Senshi 10 Posted April 9, 2016 Use addAction to add entries to the action menu. Use attachto to attach objects to the player. The popup thing could be done using notifications (e.g. https://community.bistudio.com/wiki/BIS_fnc_showNotification)or simply hint / hintsilent. The biwiki is a great resource to get started! Share this post Link to post Share on other sites
thecrestedpenguin 10 Posted April 10, 2016 So i've got the adding the pole and such, Now i'm curious how can i make it that there is an add action on a object, How would i go about adding a addaction to for example a flag pole Share this post Link to post Share on other sites
sarogahtyp 1105 Posted April 11, 2016 So i've got the adding the pole and such, Now i'm curious how can i make it that there is an add action on a object, How would i go about adding a addaction to for example a flag pole Why asking such thing before looking into BI wiki as Senshi told u? Its one of the first things described there... Share this post Link to post Share on other sites
R0adki11 3945 Posted April 11, 2016 So i've got the adding the pole and such, Now i'm curious how can i make it that there is an add action on a object, How would i go about adding a addaction to for example a flag pole My squad already has this sort of thing working with our CTF Templates, unfortunately its not something we are releasing to the public. There is a similar system for CTF - which can be found here: https://forums.bistudio.com/topic/189063-ffta3-from-flashpoint-to-arma3 Share this post Link to post Share on other sites
ASiberianHusky 1 Posted April 11, 2016 Hey, To achieve your goal, your will have to look into the following links: addAction - To add a scroll wheel option hint - Message if blue/red wins ect. Finally for the smoke on player, try something like this: (hasn't been tested) _smokeRedgear = "SmokeShellRed" createVehicle (position player);_smokeRedgear attachto [player, [0,0,0]]; Wish you luck, Chris Share this post Link to post Share on other sites