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
) »
how to take a knee?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: how to take a knee? (Read 1166 times)
0 Members and 1 Guest are viewing this topic.
pertti49
Guest
how to take a knee?
«
on:
28 Apr 2004, 15:33:48 »
command anim for soldier to knee and stay the position?
Logged
h-
OFPEC Site
Administrator
Formerly HateR_Kint
Re:how to take a knee?
«
Reply #1 on:
28 Apr 2004, 16:24:24 »
Perhaps a combination of the following (not in the init-field though... Find another way...):
doStop unit
unit setBehaviour "combat"
unit setCombatMode "yellow" (don't remember if this is needed...)
unit setUnitPos "up"
unit switchMove "crouch"
AI may stay on knee...
If that's for cut scene, you can use the behaviour as "careless" which would probably be better...
As always, I don't give any guarantees
Logged
Project MCAR
---
Northern Fronts
---
Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.
Xaio04
Guest
Re:how to take a knee?
«
Reply #2 on:
29 Apr 2004, 13:42:32 »
oh thanks man I need that aswell...
do you know:
how to do that in " Prone " or lying down?? I cant seem to get it.
Thanks mate.
Logged
Djoker
Guest
Re:how to take a knee?
«
Reply #3 on:
29 Apr 2004, 15:39:05 »
unit setUnitPos "down"
Logged
Xaio04
Guest
Re:how to take a knee?
«
Reply #4 on:
30 Apr 2004, 11:36:11 »
AI can only face the direction of " 0 " anyone know the solution?
Thanks.
Logged
h-
OFPEC Site
Administrator
Formerly HateR_Kint
Re:how to take a knee?
«
Reply #5 on:
30 Apr 2004, 19:36:50 »
It's a bug in 'doStop'... (afaik)
It makes the unit face North...
Logged
Project MCAR
---
Northern Fronts
---
Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.
Xaio04
Guest
Re:how to take a knee?
«
Reply #6 on:
01 May 2004, 08:33:14 »
Lol, yea I just edited it abit getting rid of that and its fine now. The only crap thing is when using that crouch or standing, they dont shoot when infront of an object, they do but, not us much as when there's not an object there.
:'(
Xaio.
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
) »
how to take a knee?
Top of page