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
) »
Using a script to check if weapon is primary or secondary
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Using a script to check if weapon is primary or secondary (Read 430 times)
0 Members and 1 Guest are viewing this topic.
Baphomet
Guest
Using a script to check if weapon is primary or secondary
«
on:
22 Feb 2004, 01:09:04 »
I was looking through the comref and didn't stumble across anything related to it. Perhaps I missed it. However is there a script command you can use to check if the weapon someone is holding is a rifle, pistol, or shoulder fired weapon?
Logged
h-
OFPEC Site
Administrator
Formerly HateR_Kint
Re:Using a script to check if weapon is primary or secondary
«
Reply #1 on:
22 Feb 2004, 10:04:09 »
Quote
weapon someone is holding
You mean actually holding in ones hands? (other than safe mode...)
There's no command for that (AFAIK)...
There're
primaryWeapon
,
secondaryWeapon
and
weapons
to check which weapons the unit's carrying...
Logged
Project MCAR
---
Northern Fronts
---
Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.
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
) »
Using a script to check if weapon is primary or secondary
Top of page