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
) »
Auto fire?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Auto fire? (Read 426 times)
0 Members and 1 Guest are viewing this topic.
Wildebeest
Contributing Member
The time the wildebeest ruled the Earth.
Auto fire?
«
on:
04 May 2003, 12:30:07 »
Hey, was just wondering whether there is a way of having an AI soldier use automatic fire, with say the AK47, instead of just single shots all the time?
Thx, yer the best
Logged
Weeee...
Tomb
Contributing Member
in2 Metal? Go 2 my sig
Re:Auto fire?
«
Reply #1 on:
04 May 2003, 13:46:40 »
Try this, sunnyboy:
UnitName fire ["ak74","FULLauto","ak74"]
so that's WEAPON;MODE;MAGAZINE :thumbsup: But ya might need to loop the spell in a script,
as the AI morons tend to fire just a single shot & then stop!
;D
Logged
Wildebeest
Contributing Member
The time the wildebeest ruled the Earth.
Re:Auto fire?
«
Reply #2 on:
04 May 2003, 14:37:46 »
Cool, thx mate. ;D
The thingie worked fine with a loop, except for one small detail. The AI guy only fires in the air!
Say, where did you find out about "fullAuto"? I can't find it in any comref I've used.
«
Last Edit: 04 May 2003, 14:51:40 by Wildebeest
»
Logged
Weeee...
Black_Feather
Former Staff
I'll never forget you Daisey.
Re:Auto fire?
«
Reply #3 on:
04 May 2003, 15:04:03 »
its part of the fire command, if you look in the unofficial command referance in Appendix B : Weapons and Ammo Object Tree, you'll see the options for each weapon like burst and single.
Logged
Wildebeest
Contributing Member
The time the wildebeest ruled the Earth.
Re:Auto fire?
«
Reply #4 on:
04 May 2003, 15:11:17 »
cool, I'll do that, thx man
So, does anyone know how to prevent the guy from just firing in the air and instead target an enemy?
«
Last Edit: 05 May 2003, 08:31:02 by Wildebeest
»
Logged
Weeee...
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
) »
Auto fire?
Top of page