OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dmakatra on 04 Jan 2003, 21:51:48

Title: Help with the "hands behind head" command
Post by: dmakatra on 04 Jan 2003, 21:51:48
Hi! I have never used the "hands behind head" command, but IÂ've seen that the forum haves a lot of old topics with that command, so I checked every topics name to page 13, and I found 2 or 3 different commands on the way.

None of them worked.

Now, I donÂ't know what to do, IÂ've checked all scripts and turtorials but no luck. Anyone who knows a working command? Plz help.

Thx in advance.
Title: Re:Help with the "hands behind head" command
Post by: icarus_uk on 04 Jan 2003, 21:57:40
Are you sure your man is in SAFE or CARELESS mode first?
Title: Re:Help with the "hands behind head" command
Post by: dmakatra on 04 Jan 2003, 21:59:24
 :-[ DidnÂ't know that :-[
Title: Re:Help with the "hands behind head" command
Post by: dmakatra on 04 Jan 2003, 22:10:21
Still no luck. What am I going to do now?
Title: Re:Help with the "hands behind head" command
Post by: Contra on 04 Jan 2003, 22:39:16
This one works for me:

unitname switchmove "FXStandSurUniv"

The only problem is that you can't kill the unit. Or, you CAN kill the unit, he just doesn't fall to the ground.
Title: Re:Help with the "hands behind head" command
Post by: KTottE on 04 Jan 2003, 22:51:23
Right, how are you giving the unit the command?

Try doing it in a script.

SurrenderScript.sqs

and just put:

unitName switchMove "FXStandSurUniv"

in there.

Save and execute with [] exec "SurrenderScript.sqs"
Title: Re:Help with the "hands behind head" command
Post by: Gameer_77 on 04 Jan 2003, 23:00:27
*runs down to local betting office*

Me : "£1000 that he has put the code into the init field"

Bookie : "Don't be silly. Surely if he's searched he'd have seen not to do that. It's been said before."

Me : "Well, must've not searched for the right thing. What are the odds?"

 ::)

Gameer
Title: Re:Help with the "hands behind head" command
Post by: LCD on 04 Jan 2003, 23:05:16
LOL @ gameer  ;D

leave da poor man alone  ;)

as armstrong sayed

WARNING! NEWBIE! WARNING!

 ;)

calm down - nd he did search  :P

13 pages back is awsome - like i wil use da search option but getin nback 13 pages is realy hard  :o  ;D

LCD OUT

Title: Re:Help with the "hands behind head" command
Post by: dmakatra on 04 Jan 2003, 23:12:03
i wil use da search option but getin nback 13 pages is realy hard  :o  ;D

LCD OUT



My luck! IÂ've forgotten Â'bout the search! :'(

And, I have tried both the init field and the on act field, but it doesnÂ't seem to work, IÂ'm gonna try it again, there has perhaps been a writing error or somethin.

Wish me luck and keep your lucky toe in you mouth (or somethin, I dunno).
Title: Re:Help with the "hands behind head" command
Post by: dmakatra on 04 Jan 2003, 23:16:36
Nothin! I said PUT YOUR LUCKY TOE IN YA MOUTH! Now yer only make me angry!  ;D
Title: Re:Help with the "hands behind head" command
Post by: dmakatra on 04 Jan 2003, 23:23:36
Right, how are you giving the unit the command?

Try doing it in a script.

SurrenderScript.sqs

and just put:

unitName switchMove "FXStandSurUniv"

in there.

Save and execute with [] exec "SurrenderScript.sqs"

Never used scripts, are you just gonna put da Unitname blablabla in notepad and save da file somewhere(I am starting to talk like LCD, geeez, help me someone  ;))?
Title: Re:Help with the "hands behind head" command
Post by: KTottE on 04 Jan 2003, 23:26:34
Right, idiot's guide to scripts.

Open notepad.

Write code (unitName switchMove "FXStandSurUniv" in this case)

Open Save As menu, select "All files *.*"

Save as SurrenderScript.sqs

Be sure to place this in the mission folder (operationflashpoint\users\USERNAME\missions\MISSIONNAME\)

Execute it by writing

[] exec "SurrenderScript.sqs" in the init-field of a unit. Or in a trigger.
Title: Re:Help with the "hands behind head" command
Post by: Tomb on 04 Jan 2003, 23:30:17
 :o Try putting a WP in front of a d00d, m8, and put this in the 'on activ.' field :


     RemoveAllWeapons This; This switchMove "FXStandSurUniv"


Then slide the WP upon the moron and preview the mission.  :-*


GOOD LUCK, ARMSTRONG!  8)  :)
Title: Re:Help with the "hands behind head" command
Post by: LCD on 04 Jan 2003, 23:43:03
Right, idiot's guide to scripts.

u called him idiot  :o

gonna report u 2 a mod  ::)

KTotte i request u warn him  ::)  ;D

Quote
starting to talk like LCD, geeez, help me someone

kool anoder 1 who speaks like me  ;D gonna start a klub  ;)  ;D

LCD OUT
Title: Re:Help with the "hands behind head" command
Post by: KTottE on 04 Jan 2003, 23:46:41
u called him idiot  :o

gonna report u 2 a mod  ::)

KTotte i request u warn him  ::)  ;Dkool anoder 1 who speaks like me  ;D gonna start a klub  ;)  ;D

LCD OUT

I know him from earlier, so I think it's okay ;)

Otherwise, I'll kick my arse ;D
Title: Re:Help with the "hands behind head" command
Post by: LCD on 04 Jan 2003, 23:55:36
Quote
Otherwise, I'll kick my arse

i think dat u should kick ur arse nywayz 2 teach urself a lesson  ::)( ;D)

LCD OUT
Title: Re:Help with the "hands behind head" command
Post by: Gameer_77 on 04 Jan 2003, 23:57:06
kool anoder 1 who speaks like me  ;D gonna start a klub  ;)  ;D

Roflmao ;D

Let's all taks like LCD...We spam too mch. :-X

Gameer ::)
Title: Re:Help with the "hands behind head" command
Post by: Gameer_77 on 05 Jan 2003, 00:02:56
i think dat u should kick ur arse nywayz 2 teach urself a lesson reply ?  ::) ( ;D)

LCD OUT

Ooh, i wouldn't try it. Still got the bruise from when I kicked me own ass... :o :-X

I recommend you just go without eating for a year. ;)

Gameer
Title: Re:Help with the "hands behind head" command
Post by: LCD on 05 Jan 2003, 00:09:26
LOL @ gameer  :o

can i get tomb immunity 4 spam ??? so i can spam somthin like 4 posts 4 each 10 threads  ???  ::) ::) ::)

:cheers:

LCD OUT
Title: Re:Help with the "hands behind head" command
Post by: Tomb on 05 Jan 2003, 00:10:10
 :o If good ol' Armstrong won't make it this time, it's definately....


*SAMPLE TAAM*




 ;D


Title: Re:Help with the "hands behind head" command
Post by: icarus_uk on 05 Jan 2003, 01:03:29
It should be made clear that "TAAM" in Tomboys screwy language means "time".
Title: Re:Help with the "hands behind head" command
Post by: Captain Winters on 05 Jan 2003, 04:31:42
Hey! Hey! [shadow=red,left,300]I THINK WE SHOULD STICKY THIS THREAD!!!! ;D ;D ;D ;) ;D ;) ;) ;) ;D[/shadow][/u][/i][/b] It is SOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO FUNNY!!!!!
_____________________________
_____________________________
Capn' Winters Out!
Title: Re:Help with the "hands behind head" command
Post by: Black_Feather on 05 Jan 2003, 06:24:10
*cough* back on topic please.
Title: Re:Help with the "hands behind head" command
Post by: LCD on 05 Jan 2003, 06:44:08
k i anounce a BOTS (back on topic situation)

from now if u wanna post somthin in dis thread u have 2 write somthin on topic or u wil b warned ;D

now armstrong u have 2 wayz doin dis  ;D

1) put in da onactivision of wp or put in a script da next line

Code: [Select]
unitname switchmove "FXStandSurUniv" or maybe its
Code: [Select]
unitname playmove "FXStandSurUniv"
try both of em cuz somtime OFP anims dont work wid 1 of da commands ;D

also make sure dat da unit have its weapon on back or dont have da weapon (removeallweapons or setbehaviour "carless"/"safe)

should do da trick

2) u can try nd fail again nd aks da Tombster (u realy dont wanna deal wid him) 2 show u his
*SAMPLE TAAM*
thingy (can b prety scary so if u have weak heart i sugest u dont do it  ;)  ;D)  ::) ::)

is dat enough on-topic 4 u Black_Feather ?  ;)  ;D

now lil off-topic

WARNING - DONT READ IF YOUR MOD  ;D (u can if u wont lock da topic nor warn me  ;) ;D

no1 answered me - can i recive da spam immunity tomb gets ? wat should i do 2 recive it  ???  ::) (tomb can u help me on dis  ;D  ;))

nd i realy wanna c KTottE kick himself - can u get (n send) som pics wen u do it ? or can at least som1 tell me if da Thread Rocks (only vets know wat i meen  ;))  pic is stil on da OFPEC server ? nd were i can get it  ;D

LCD OUT
Title: Re:Help with the "hands behind head" command
Post by: dmakatra on 05 Jan 2003, 12:49:53
:o Try putting a WP in front of a d00d, m8, and put this in the 'on activ.' field :


     RemoveAllWeapons This; This switchMove "FXStandSurUniv"


Then slide the WP upon the moron and preview the mission.  :-*


GOOD LUCK, ARMSTRONG!  8)  :)

tried that, seen that, didnÂ't work
Title: Re:Help with the "hands behind head" command
Post by: Gameer_77 on 05 Jan 2003, 13:09:07
Then it must be something your doing wrong...

I done this :-

1. Make a trigger and in it put the condition 'true'.

2. Put

Code: [Select]
bob switchmove "FXStandSurUniv"

changing 'bob' to whatever his name is, into the onactivation.

3. Name the guy bob, or whatever ;D

Preview, and he should do it. If he doesn't, then it's your fault so nyaaa :o ;D

Gameer
Title: Re:Help with the "hands behind head" command
Post by: dmakatra on 05 Jan 2003, 13:31:56
IT WORKED!!!!!! AT LAST!!!!!!! 8) 8) 8) 8) 8) SCRIPTS TO THE PEOPLE!!!! Thx Ktotte!

But, but, if when you have got one step, another step lies ahead of you.

IÂ'm asking you one more thing (yes I know, I am evil).

Is there a way to deactivate it?

Sry for all troubble.
Title: Re:Help with the "hands behind head" command
Post by: Gameer_77 on 05 Jan 2003, 13:38:53
Evil boy! >:(

Here -

unitname switchmove "null"

And don't say it doesn't work cause it should! ;D

Gameer
Title: Re:Help with the "hands behind head" command
Post by: Tomb on 05 Jan 2003, 18:15:20
 LOL :o Armstrong, yer ONE mean mamas boy!  ;D

As I said, it's......


SAMPLE TAAM  8)


Grab this attaced mission, unzip to :

OFP/Users/YerUserName/Missions  :)

...and load DESERT ISLAND + the "kill hostages" sample mission.

Then, all ya need to do is to click on the tríggers to read the spells.


GOOOOOOOOOOOOD LUCK, Armstrong, and may GOD be on yer side, son!  ::) ;D ( j/k )
Title: Re:Help with the "hands behind head" command
Post by: Gameer_77 on 05 Jan 2003, 19:12:14
Bah! You just can't resist making a good sample mission ;D

You'd have posted that even if he had solved it ::) ;)

And if anyone's a mama's boy, it's me! :P

Gameer :-*
Title: Re:Help with the "hands behind head" command
Post by: dmakatra on 05 Jan 2003, 23:58:18
Got it, and I have tried it too, worked, thx gameer.

*Topic at last solved and locked <puh> :)