OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: voodzia on 05 May 2005, 23:42:05

Title: checking ammo - taken or not
Post by: voodzia on 05 May 2005, 23:42:05
Hello,
Can I check if player has taken specific sort of ammo from the gear section? For example, I'd like to know if player has taken at least one smoke shell - how to detect this at the beginning of the mission?
Thank you in advance for help.
Kind regards,
voodzia
Title: Re:checking ammo - taken or not
Post by: dmakatra on 06 May 2005, 00:19:18
Well, you could easily check that with the command magazines. Check the ComRef. :)

:beat: *Gets Shot* :beat:
Title: Re:checking ammo - taken or not
Post by: voodzia on 06 May 2005, 00:24:29
Thanks a lot. I was checking comref but this stupid operand type (vehicle) misled me :(