Shifty 0 Posted February 3, 2002 just a quick question... how would i make soldiers stands in straight lines with their arms behind their backs as if on a parade ground? thanks. Share this post Link to post Share on other sites
AgamemnonTR 0 Posted February 4, 2002 as far as I've seen, you can't make 'em put their hads behind their back. only put their guns on their shoulder or salute... Share this post Link to post Share on other sites
MP 0 Posted February 4, 2002 Make a trigger and group it to a soldier. Name the soldier man1. Next in the condition field of the trigger type true. And in the "On Activation" field of the same trigger type: man1 switchmove "FXStandAtt". Now group the trigger to man1 (F2) and he will be standing with shoulders back, chest out and a straight back... Share this post Link to post Share on other sites
Shifty 0 Posted February 4, 2002 thanks mp, would i just repeat that to have the rest of the group standing in a line? Share this post Link to post Share on other sites
MP 0 Posted February 5, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Shifty @ Feb. 04 2002,20:10)</td></tr><tr><td id="QUOTE">thanks mp, would i just repeat that to have the rest of the group standing in a line?<span id='postcolor'> You have to make a trigger for each unit in the squad... Share this post Link to post Share on other sites
mahuja 12 Posted February 5, 2002 You don't have to use a trigger at all - what do you think the init field is for? Besides, there is a better way... (back in a moment with it) Share this post Link to post Share on other sites
mahuja 12 Posted February 5, 2002 Too bad there is no way to nest strings... This won't work because of that... "_x switchmove 'FXStandAtt'" foreach group man1 Which will make every soldier in that group (put them in a line formation) stand at attention. I might make a script that can do it for you... Share this post Link to post Share on other sites
Intruder 0 Posted February 5, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> officer_1 SwitchMove "FXStandAtt" officer_2 SwitchMove "FXStandAtt" officer_3 SwitchMove "FXStandAtt" officer_4 SwitchMove "FXStandAtt" officer_5 SwitchMove "FXStandAtt" officer_6 SwitchMove "FXStandAtt" officer_7 SwitchMove "FXStandAtt" officer_8 SwitchMove "FXStandAtt"<span id='postcolor'> put it in a file called scriptname.sqs call it up with </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> [] exec "scriptname.sqs"<span id='postcolor'> Lots of copy and Paste Share this post Link to post Share on other sites
mahuja 12 Posted February 5, 2002 When I tried it, I found that once again nested strings caused a problem. It is possible that I can use \ to escape the inner "s but I want to find out before I make the thing... But if that is possible, a simple "_x switchmove \"FXStandAtt\"" foreach group man1 ought to do the job. Don't know though. Share this post Link to post Share on other sites
mahuja 12 Posted February 5, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Intruder @ Feb. 05 2002,14:43)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> officer_1 SwitchMove "FXStandAtt" officer_2 SwitchMove "FXStandAtt" officer_3 SwitchMove "FXStandAtt" officer_4 SwitchMove "FXStandAtt" officer_5 SwitchMove "FXStandAtt" officer_6 SwitchMove "FXStandAtt" officer_7 SwitchMove "FXStandAtt" officer_8 SwitchMove "FXStandAtt"<span id='postcolor'><span id='postcolor'> Problem is, you won't always have the names of all of them... This thing of mine takes the name of one of them - if it works... Share this post Link to post Share on other sites
mahuja 12 Posted February 5, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (MP @ Feb. 05 2002,04:36)</td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">thanks mp, would i just repeat that to have the rest of the group standing in a line?<span id='postcolor'> You have to make a trigger for each unit in the squad...<span id='postcolor'> This is one wasteful scripter... If you're wasteful enough to use triggers at all for this, you should at least use only one trigger with an "on activation" containing several commands. For those who didn't know, you just put a ; between commands. Share this post Link to post Share on other sites
Intruder 0 Posted February 5, 2002 Oh, your trying to make a univesal one to work on grouped units, where induvidual soldiers don't have names. I used the above in one of my scripts in a mission I made, and I just named each soldier. Unless your going to use 20+ soldiers it shouldn't be a problem. Even BIS used that method in the Training mission. Share this post Link to post Share on other sites
NEO -PZ- 0 Posted February 5, 2002 We have FXStandAtt and then a command for push ups which I don't remember... What more of these commands are there? Share this post Link to post Share on other sites
Intruder 0 Posted February 5, 2002 Lots, heres a few, want more get this: OpFlashCmdRefv101.PDF EffectCombatStand EffectStandmove EffectStandSitDown Sitdown EffectStandSitDownVer1 EffectStandSitDownVer2 EffectStandSitDownStill Looks like EffectStandTalk EffectStandSalute Stand and Salute I dare say EffectStandSaluteEnd EffectStandTalk Stand and act like you are talking EffectWeaponPanic FXangel Standing rigid with arms to side FXangel2 Standing rigid with hands over crotch FXStandAtt Stand at attention FXStandAttVar1 FXStandBug FXStandDangle FXStandDip FXStandDropTel XStandEndTable FXStandFromDip FXStandFromTable -Standing from the chair FXStandhip -Standing and shifting on left hip FXStandRotateTable -Reach down as if about to rotate table FXStandShowTable FXStandStraight FXStandSur FXStandSurDead -Another dying while standing pose FXStandSurDown -Stand and put hands behind your head FXStandSurUniv -Hands behind your head surrendering FXStandToDip FXStandToTel -Lean in to grab telephone FXStandTelLoop -Sitting talking on phone FXStandToTelHand FXStandToTable FXStandUnivTable Share this post Link to post Share on other sites
Damage Inc 0 Posted February 5, 2002 That's an old version. Share this post Link to post Share on other sites
Intruder 0 Posted February 5, 2002 The animations list is the same isn't it? I got the new one but forgot the link Share this post Link to post Share on other sites
Shifty 0 Posted February 5, 2002 thanks for all the help, you're great guys Share this post Link to post Share on other sites
TheOberleutnant 0 Posted February 5, 2002 OK, this may not be related to much here, but it is similar: when i have some men standing still for an execution cutscene, how the hell do you make the guards fire 1 bullet at them? Mine seem to have a desire to empty a few magazines towards the prisoners! Share this post Link to post Share on other sites
Intruder 0 Posted February 6, 2002 Try set their ammo level really low with the slider, experiment with it to see how it adjusts their ammo level, cos I'm not sure if it reduces the number of magazines it self, or the amount of rounds in the magazine as well. You could give them sniper rifles. You could set thir skill to the highest to reduce the amount of ammo used to kill them. Give each soldier a target unitname DoFire unitname_1 in the correct place in the cutscene script (if there is one). Share this post Link to post Share on other sites
Dragon 4 0 Posted February 6, 2002 tHE PUSH-UP command only makes the soldier three push-ups, how can I make it more? chrs Share this post Link to post Share on other sites
Intruder 0 Posted February 6, 2002 If you use a WP to activate the action, give it a cycle WP very close to it. Share this post Link to post Share on other sites
MP 0 Posted February 6, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (MaHuJa @ Feb. 05 2002,13:54)</td></tr><tr><td id="QUOTE">For those who didn't know, you just put a ; between commands.<span id='postcolor'> Oh yeah! Thank's for the tip... As if we did'nt know that already! *Sarcasim*. I did'nt spend 4 years in collage learing java & visual basic scripting for nothing you know... Share this post Link to post Share on other sites
NEO -PZ- 0 Posted February 6, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE"></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">For those who didn't know, you just put a ; between commands.<span id='postcolor'> Oh yeah! Thank's for the tip... As if we did'nt know that already! *Sarcasim*. I did'nt spend 4 years in collage learing java & visual basic scripting for nothing you know... <span id='postcolor'> There are newbies, he's trying to be helpful, why get mad at him? Share this post Link to post Share on other sites
MP 0 Posted February 7, 2002 I see... I see... smartness in his comment... plus he called me a "Wastful scripter" Share this post Link to post Share on other sites