MilitiaSniper 0 Posted October 22, 2006 I can't find what to type in for soldiers to do pushups! Sincerely, MilitiaSniper Share this post Link to post Share on other sites
Metal Heart 0 Posted October 22, 2006 unitname playmove "FXStandDip" Unit will do 3 push-ups. Note that playmove and switchmove won't work from the init line. Share this post Link to post Share on other sites
MilitiaSniper 0 Posted October 22, 2006 unitname playmove "FXStandDip"Unit will do 3 push-ups. Note that playmove and switchmove won't work from the init line. Then what do you recommend I do to get it to work? Sincerely, MilitiaSniper PS. Thank You..! For your help! Share this post Link to post Share on other sites
ProfTournesol 956 Posted October 22, 2006 Script... Share this post Link to post Share on other sites
MilitiaSniper 0 Posted October 22, 2006 Script... I can't remember how to make a script, nor execute the darn thing! Would you mind helping me? Sincerely, MilitiaSniper Share this post Link to post Share on other sites
Metal Heart 0 Posted October 22, 2006 You could also just use a waypoint or a trigger. Script is a text file with extension .sqs. Create it with Notepadâ„¢ or compatible and save it as scriptname.sqs in the mission directory (ofp/users/playername/missions/missionname.island/). Execute script with the command: [] exec "scriptname.sqs" You can put variables or parameters in the array to be passed on to the script. Like ["Shell120",getpos player,100,1] exec "bomb.sqs" Share this post Link to post Share on other sites
ProfTournesol 956 Posted October 23, 2006 Quote[/b] ]_unit = _this select 0 _unit playmove "fxstanddip" exit Name it as you want ("anim.sqs" for example), with sqs extension, put it in the mission file and launch it for example in the init line of the unit : [this] exec "anim.sqs" Share this post Link to post Share on other sites
MilitiaSniper 0 Posted October 23, 2006 It said it can find the script! It's in my users name/mission/mission name folder. I named it, "pushup.sqs." Sincerely, MilitiaSniper Share this post Link to post Share on other sites
InqWiper 0 Posted October 23, 2006 My guess is that your file is named pushup.sqs.txt. I would recommend disabling the option to hide file extensions on known file type. I can be done by opening the folder and then: tools->folder options->show? then uncheck hide extensions for known file types. Share this post Link to post Share on other sites