aaronhance 1 Posted April 11, 2013 Hey, I've only started Arma scripting and editing today, but have previous experience with programming so it was easy for me to start. I'm now starting a new project for a multiplayer mission, but I have no idea on how to make a gui. Also would anyone know how to make a scroll option appear when looking at an npc, I've tried addaction in the unit init field, but it does not seam to work. Share this post Link to post Share on other sites
UltimateBawb 1 Posted April 11, 2013 As for the addition to the action menu in an init field, try: this addAction ["This appears in the scroll menu", "anything.sqf"]; The first object string is the text that appears, while anything.sqf is a script in your mission's directory which is called when you click the scroll menu option. As for GUI, it's a real pain. That was one of the first things I wanted to do when I first started scripting, but I just dropped it. It's referred to as 'dialog' scripting; a beginner's tutorial can be found here: http://forums.bistudio.com/showthread.php?144954-Dialog-Tutorial-For-Noobs-By-A-Noob Share this post Link to post Share on other sites
aaronhance 1 Posted April 11, 2013 As for the addition to the action menu in an init field, try: this addAction ["This appears in the scroll menu", "anything.sqf"]; The first object string is the text that appears, while anything.sqf is a script in your mission's directory which is called when you click the scroll menu option. Would that not just enable the scroll option for the npc? Share this post Link to post Share on other sites
UltimateBawb 1 Posted April 11, 2013 Nope, the unit that addAction is run from is a center for anyone to use that action. It's kind of weird, but adding that action would be akin to the "Get in" action for a vehicle. Share this post Link to post Share on other sites