Richards.D 761 Posted February 6, 2015 Hello everyone: I need to make a simple script that does not need any additional addons and can be placed in a mission file. The idea is a small GUI with a list of animations named that can be played. A key or scroll menu can bring up said GUI. The animation needs to be cancelled at any time by moving (Which I recall is standard in Arma). And yes, it is for MP. Does anyone know where I could start with this idea? Share this post Link to post Share on other sites
fight9 14 Posted February 6, 2015 I would start with a good GUI tutorial if you don't already know how to make one. Dialog Tutorial For Noobs [by A Noob] or Killzone Kid's GUI Tutorial After that you need scripting commands to play animations. There are a few: switchMove playAction playMove playGesture Share this post Link to post Share on other sites
Richards.D 761 Posted February 7, 2015 Roger, neither of those tutorials really seem to work; the first the PDF does not and the second really only shows how to make a box. Are there any other more in depth UI tutorials, especially made for Arma 3? Share this post Link to post Share on other sites
fight9 14 Posted February 7, 2015 (edited) KK's tutorial is in multiple parts. Click the link to part 2... or http://killzonekid.com/tag/gui/ and heres another link to the first one: http://www.armaholic.com/page.php?id=18363 Edited February 7, 2015 by Fight9 Share this post Link to post Share on other sites
killzone_kid 1333 Posted February 7, 2015 My tut has nothing to do with what OP wants. You can add all your animations with addAction to the action menu. The fact that you could always stop any animation by moving is a surprise to me. Just recently a BIS dev made a post on FT saying that he would review all cutscene animations and unify them so that they could be used elsewhere. That is switchMove would start interruptible animation and playMove would make it uninterruptible. AFAIK this is WIP and is still on dev only. The example of such animation is car fixing animation. Share this post Link to post Share on other sites
Richards.D 761 Posted February 9, 2015 Hey Killzone: I think it may still apply. I need something a bit less cluttered than the Addaction; although that may work. As for canceling ALL animations with moving; I am not sure that is true exactly; but for many it is Share this post Link to post Share on other sites
Richards.D 761 Posted February 9, 2015 Update: I actually did this with just the Add Action Menu; so It is good to go, thanks everyone. Share this post Link to post Share on other sites
fight9 14 Posted February 10, 2015 Glad you figured it out. The action menu is always a easy route to go. However, the action menu does kind of suck. If you want something else that is still easy to add to, try this. Share this post Link to post Share on other sites
ussrlongbow 116 Posted February 25, 2015 I have done such script for gestures, will publish it a bit later (after recording video with english comments) Demonstration (speaking russian there) idea was ti displayt gui while holding the key, after releasing gui closes, while open you may select action to animate. ---------- Post added at 16:20 ---------- Previous post was at 16:19 ---------- Video with demonstration of my script, english will come later. Share this post Link to post Share on other sites