OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Wolf on 24 Aug 2002, 02:28:25

Title: Pushups. Keep doing them
Post by: Wolf on 24 Aug 2002, 02:28:25
Simple quedtion.
I know how to get them to do it, but how do I get them to keep doing it.
Any method at this point is welcome.
As long as you explain it please.
Thank you.
Title: Re:Pushups. Keep doing them
Post by: icarus_uk on 24 Aug 2002, 02:30:36
You can either put it in a script to get them to do the pushups for as long as you want.

Or give the man a WP that tells him to do them, then give him a few more WPs telling him to do them, one on top of each other.
Title: Re:Pushups. Keep doing them
Post by: Wolf on 24 Aug 2002, 02:34:06
Waypoints don't work.
And I have no clue how to use or makes scripts.
Could you explain how to make it and use it and so on.
Thank you.
Title: Re:Pushups. Keep doing them
Post by: Artak on 24 Aug 2002, 02:38:51
in your 'on activation' field you put

[] exec "pushups.sqs"

go to notepad and start to edit a file named pushups.sqs

#loop
your-pushups-animation-command
~0.7
goto #loop

Title: Re:Pushups. Keep doing them
Post by: Wolf on 24 Aug 2002, 02:47:45
Artak
I copied what you got there word for word, and all it did was give me an error at the top of the screen.

EDIT
And yes, I did put in a animation command.
Title: Re:Pushups. Keep doing them
Post by: Artak on 24 Aug 2002, 02:54:25
what did the error say?

No, wait! the last line should be
goto "loop"  :-[ :P ;)
Title: Re:Pushups. Keep doing them
Post by: Wolf on 24 Aug 2002, 03:01:33
Invalid number in expresion
Title: Re:Pushups. Keep doing them
Post by: Wolf on 24 Aug 2002, 03:11:34
Got one more question to go with this, what is the proper command to have them start diping already, I have tryed FXDiptoDip, That didn't work, so what is it?
I checked the CFG, all I saw was standing to dip, and dip to standing.
Title: Re:Pushups. Keep doing them
Post by: SFG on 24 Aug 2002, 03:18:00
Switchmove them? That starts them right away.
Title: Re:Pushups. Keep doing them
Post by: Wolf on 24 Aug 2002, 04:02:56
ok, major prob right now, I fixed that loop thing, and I placed
FXStandtodip inplace of your-pushups-animation-command.
But nothing happens, no error, but the men do nothing, what is wrong.
Title: Re:Pushups. Keep doing them
Post by: icarus_uk on 24 Aug 2002, 04:05:59
Isnt it just FXStandDip ?  And Im pretty sure it does work in a WP, its how BIS do their cutscenes of troopers doing pushups.
Title: Re:Pushups. Keep doing them
Post by: Wolf on 24 Aug 2002, 04:14:17
Fraid waypoints just don't work with this command.
The idiot either does two pushups if I place one WP, or he does some wierd twiching if I tr to place multiple WP.
Title: Re:Pushups. Keep doing them
Post by: SFG on 24 Aug 2002, 04:19:34
Isnt it just FXStandDip ?  And Im pretty sure it does work in a WP, its how BIS do their cutscenes of troopers doing pushups.
Erm. no its FXstandtodip
Title: Re:Pushups. Keep doing them
Post by: Wolf on 24 Aug 2002, 04:35:09
YAAAYYYYYYAAYAYA!!!!!
Problem solved, it required using this method, thanks all.

#loop
Wg1 playmove "FXStandDip"
wg2 playmove "FXStandDip"
wg3 playmove "FXStandDip"
wg4 playmove "FXStandDip"
~0.7
goto "loop"

This is the best place to get answers.
Again, thanks all.
Title: Re:Pushups. Keep doing them
Post by: Wolfsbane on 24 Aug 2002, 19:39:00
Problem Solved, but someone has another suggestion. This thread has been Unlocked.

Please re-lock once Icarus UK has made his post.
Title: Re:Pushups. Keep doing them
Post by: icarus_uk on 24 Aug 2002, 19:57:36


[attachment deleted by admin]