Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Kneeling troops
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Kneeling troops (Read 546 times)
0 Members and 3 Guests are viewing this topic.
Raven
Guest
Kneeling troops
«
on:
11 Oct 2003, 17:10:06 »
Hi Guys
A small problem, is there a way to get a unit to kneel down, stay in that postion and still use his weapon, everytime i try, he kneels and gets stright back up again.
Logged
rhysduk
Former Staff
Re:Kneeling troops
«
Reply #1 on:
11 Oct 2003, 21:01:44 »
Raven,
Here is the code to make units kneel... just pop it all in teh Init feild of the uniy...
this setBehaviour "combat";this setUnitPos "up";this switchMove "combattocrouch"
I know it works.. if it doesnt let me know ;D
Rhys
Thanks to IWESSHOME for the above syntax ! Submitted to me a while back.
Logged
Reviewed Missions Board
: Please
Read
the
User's Guide
before posting!
Pride and Joy 1 (HW100-T)
Raven
Guest
Re:Kneeling troops
«
Reply #2 on:
12 Oct 2003, 10:08:20 »
Cheers Rhysduk, it worked a treat.
Thats why I love being part of this forum, always someone out there who knows an answer.
;D ;D ;D ;D
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Kneeling troops
Top of page