Set No Weapon? -1 reply

Please wait...

Trivium_Worshipper

I post to get attention

50 XP

31st August 2006

0 Uploads

64 Posts

0 Threads

#1 12 years ago

How do you set a unit to have no weapon. Like a Pilot or Officer because they both start with rifles and I want to make a Captive level. :confused:




MarWae

We only got one life, live it!

50 XP

4th August 2006

0 Uploads

58 Posts

0 Threads

#2 12 years ago

in the unit init: this removeallweapons true




Trivium_Worshipper

I post to get attention

50 XP

31st August 2006

0 Uploads

64 Posts

0 Threads

#3 12 years ago

when i use that it says 'unknown operator removeallweapons' I'd like to add i hav OFP 1.46




_D.Schenck_

Loves to learn

50 XP

1st October 2003

0 Uploads

484 Posts

0 Threads

#4 12 years ago

removeallweapons this;




MarWae

We only got one life, live it!

50 XP

4th August 2006

0 Uploads

58 Posts

0 Threads

#5 12 years ago

Strange, that i wrote works for me




Trivium_Worshipper

I post to get attention

50 XP

31st August 2006

0 Uploads

64 Posts

0 Threads

#6 12 years ago

You probably have OFP Resistance. I don't. But i've recently ordered it off the internet and it should come some day ^^. But thanks anyway. Thtanks especially to the guy who gave me the one that works. All I need now is that surrender script so that the unit gets on his knees and puts his hands up like on Pilot Down level. :)




MarWae

We only got one life, live it!

50 XP

4th August 2006

0 Uploads

58 Posts

0 Threads

#7 12 years ago

[COLOR=black]unitName [/COLOR][COLOR=black]switchmove[/COLOR][COLOR=black] "animation"; where animation is put: [/COLOR]FXStandSur or FXStandSurDown or FXStandSurUniv, im not sure wich of them . I don't think its any difference from resistance and usual OFP

heres the command reference with all the scripts and animations: http://www.opflashpoint.org/downloads/file.php?s=8&v=62

If there's anything just ask me, its fun to be of use




Trivium_Worshipper

I post to get attention

50 XP

31st August 2006

0 Uploads

64 Posts

0 Threads

#8 12 years ago

Weee i have OFPR! Anyway. That Surrender script don't work. (Everything doesn't for me) It keeps coming up with Script 'unitName' not found. and other bad stuff >.




MarWae

We only got one life, live it!

50 XP

4th August 2006

0 Uploads

58 Posts

0 Threads

#9 12 years ago

how and where do you write it then




Trivium_Worshipper

I post to get attention

50 XP

31st August 2006

0 Uploads

64 Posts

0 Threads

#10 12 years ago

I set a waypoint for the guy i want to surrender. The waypoint is Scripted. In the script bar at the bottom of the window I type (say bob is the name of the guy):unitName bob switchmove ''FXStandSur'' (or any of the other ones you said). Also the guy that has the waypoint i actually put his Name: bob. Any problems there? Lots of other stuff doesn't work either. like. firename (name) inflame true(/false). And I don't know how I can get them to do actions and stuff either!