Pushups and pressups |
Pushups and pressups |
Apr 10 2010, 06:14
Post
#1
|
|
New Member Group: Members Posts: 1 Joined: 10-April 10 Member No.: 7,445 |
hi,
i am new to arma scripting and i wanted to know the script i can use to make a unit do pushups and pressups. thnx |
|
|
Apr 10 2010, 13:27
Post
#2
|
|
Gee, I wish we had one of them doomsday machines. Group: Moderators Posts: 2,037 Joined: 13-November 06 From: Wales Member No.: 155 |
You'll be looking for the playmove or switchmove commands:
http://community.bistudio.com/wiki/playMove http://community.bistudio.com/wiki/switchMove The final argument is an animation name, you can find a list here: http://community.bistudio.com/wiki/Armed_Assault:_Moves_List For pushups: CODE unit playmove "AmovPercMstpSnonWnonDnon_exercisePushup" For situps: CODE unit playmove "AmovPercMstpSnonWnonDnon_exercisekneeBendA" (obviously, replace "unit" with the name of the unit you want to play the animation! Bear in mind this code will not work if used in the initialization field of a unit, it must be activated by a trigger) -------------------- The Rules - Nothing too complicated, follow these and we'll have no problems.
Moderation Feedback Thread - Tell everyone how much you Site Issues Thread - Complain about site issues here. We might even fix them! Community Chatter Thread - Furthest Mud-sling gets a free subscription to "JdB Monthly". QUOTE(Major Mike Shearer) We can categorically state that we have not released man-eating badgers into the area. QUOTE(Brace Belden) A machine gun is like a woman, I don’t understand it, I’m afraid of it, and one day I’ll accidentally be killed by one. |
|
|
Lo-Fi Version | Time is now: 23rd April 2024 - 21:39 |