OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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.
-
Are you sure your man is in SAFE or CARELESS mode first?
-
:-[ DidnÂ't know that :-[
-
Still no luck. What am I going to do now?
-
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.
-
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"
-
*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
-
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
-
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).
-
Nothin! I said PUT YOUR LUCKY TOE IN YA MOUTH! Now yer only make me angry! ;D
-
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 ;))?
-
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.
-
: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) :)
-
Right, idiot's guide to scripts.
u called him idiot :o
gonna report u 2 a mod ::)
KTotte i request u warn him ::) ;D
starting to talk like LCD, geeez, help me someone
kool anoder 1 who speaks like me ;D gonna start a klub ;) ;D
LCD OUT
-
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
-
Otherwise, I'll kick my arse
i think dat u should kick ur arse nywayz 2 teach urself a lesson ::)( ;D)
LCD OUT
-
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 ::)
-
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
-
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
-
:o If good ol' Armstrong won't make it this time, it's definately....
*SAMPLE TAAM*
;D
-
It should be made clear that "TAAM" in Tomboys screwy language means "time".
-
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!
-
*cough* back on topic please.
-
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
unitname switchmove "FXStandSurUniv" or maybe its 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
-
: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
-
Then it must be something your doing wrong...
I done this :-
1. Make a trigger and in it put the condition 'true'.
2. Put
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
-
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.
-
Evil boy! >:(
Here -
unitname switchmove "null"
And don't say it doesn't work cause it should! ;D
Gameer
-
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 )
-
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 :-*
-
Got it, and I have tried it too, worked, thx gameer.
*Topic at last solved and locked <puh> :)