Home   Help Search Login Register  

Author Topic: Simple questions for you good script boy!  (Read 5596 times)

0 Members and 2 Guests are viewing this topic.

frag

  • Guest
Simple questions for you good script boy!
« on: 25 Sep 2002, 02:12:29 »
Hi guys,

2 questions (didn't find anything with search)...

1. How can I set a unit hostage having his hands behing their head? (I saw some in a resistance mission)

2. How can I light the campfire object?

Thanks!

Kaliyuga

  • Guest
Re:Simple questions for you good script boy!
« Reply #1 on: 25 Sep 2002, 03:00:57 »
1)  playmove "FXstandsur"  
 (I'm 90% sure that's the right animation, if not someone will give ya the correct one shortly I'm sure ;) )
used in a looped scroll to keep his hands behind his head  ;)


2) this inflame true    (works for 1.46 and previous, not positive about resistance.. haven't actually lit one, well not a fire at least  ;D   in OFP:R yet ::)  


frag

  • Guest
Re:Simple questions for you good script boy!
« Reply #2 on: 25 Sep 2002, 07:51:14 »
Kaliyuga,

the campfire is alright...thanks

About the hostage move, I can't get it done. I even try to remove weapon of the soldier and put it (this setcaptive true)

T.S.C.Plage

  • Guest
Re:Simple questions for you good script boy!
« Reply #3 on: 25 Sep 2002, 08:53:33 »
You've to add this SwitchMove "FXStandSurUniv" in a Waypoint (at On Activation) and set the "WP behaviour" to careless...this should work.

I think I read something about to use the PlayMove instead of SwitchMove for Resistance...try yourself.

As mentioned you can also put this in a script and loop it to be sure "to keep his hands behind his head".
Notice you've to name the unit if you use it in a script (name SwitchMove "FXStandSurUniv").

The this inflame true/false works fine in 1.75.

Greetz
Plage
« Last Edit: 25 Sep 2002, 08:58:31 by T.S.C.Plage »

lilmat

  • Guest
Re:Simple questions for you good script boy!
« Reply #4 on: 25 Sep 2002, 13:43:26 »
Ok!
You will not need a loop for this switchmove!!!!!!!!!!!!! ::) ;D

unit switchmove "fxstandsurdown"  from standing position.
unit will stay in this particular pose.
                            OR
unit switchmove"fxstandsuruniv"
This one the unit will leave his gun on the ground.

To change back use  switchmove"" or  switchmove"normal"
remember to setcaptive true, or they will shoot.
 ;D ;D
Hope that helps.
P.S.  I know alot about switchmoves, so I could help more
If needed!!! ;D
                                                                                                                 

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Simple questions for you good script boy!
« Reply #5 on: 25 Sep 2002, 15:18:03 »
@ lilmat - from wat i remember 2 get unit back 2 normal pos u need 2 use

unitname switchmove "null"

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

lilmat

  • Guest
Re:Simple questions for you good script boy!
« Reply #6 on: 25 Sep 2002, 15:41:49 »
Hey! LCD I didn't know about this one          "null"
The examples I mentioned come from the bis "bible" ;D ;D ;D
The command ref manual!! And also from the campain
scripts!! 8)
So there you go, we can be sure that these work!! ;D
Hope this has given you more info to go in your flies.!
 8) ;D ;D :cheers: :wave:

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Simple questions for you good script boy!
« Reply #7 on: 25 Sep 2002, 15:59:04 »
tanks lilmat  ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

frag

  • Guest
Re:Simple questions for you good script boy!
« Reply #8 on: 25 Sep 2002, 19:42:21 »
Thanks guy,

I am now able to have the move!!!

But is it normal that a unit with the hand behind his head become invincible.

I can shot like 3 magazines on him ... He is full of blood...but dont fall on the ground  ???

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Simple questions for you good script boy!
« Reply #9 on: 25 Sep 2002, 19:49:50 »
he is not invincible he just cannot change position  :o  ;D he is already dead  :o

so make a trig like dat

Code: [Select]
condition : not alive unitname
on activision : unitname switchmove "null"



LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

lilmat

  • Guest
Re:Simple questions for you good script boy!
« Reply #10 on: 26 Sep 2002, 12:54:01 »
Generally what happens with switchmoves is, the unit
is "SWITCHED" to this position. Just like sitting down.
So as LCD has said add the loop and he will fall faster
to the ground then Austin Powers trying to get shagged!!
 ;D ;D ;D

chrisb1220

  • Guest
Re:Simple questions for you good script boy!
« Reply #11 on: 28 Sep 2002, 17:16:07 »
The trigger does not work. Can someone tell me how to make him fall?


Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Simple questions for you good script boy!
« Reply #12 on: 28 Sep 2002, 17:21:37 »
Did you replace UnitName with the name of the unit you are using?

chrisb1220

  • Guest
Re:Simple questions for you good script boy!
« Reply #13 on: 28 Sep 2002, 18:52:05 »
YA! I'm not that stupid!

chrisb1220

  • Guest
Re:Simple questions for you good script boy!
« Reply #14 on: 28 Sep 2002, 22:52:20 »
Can someone help me here!
I'm dieing! :beat: