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
) »
Order and get
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Order and get (Read 478 times)
0 Members and 2 Guests are viewing this topic.
dmakatra
Members
Better known as Armsty
Order and get
«
on:
04 Feb 2003, 21:47:15 »
How do you make so if anyone types a specific type of ammo in the "[]" box he will get that ammo of that kind.
Logged
Pointman
Guest
Re:Order and get
«
Reply #1 on:
04 Feb 2003, 22:50:53 »
I only have CWC, so... What is the [] box you are refering to?
Logged
dmakatra
Members
Better known as Armsty
Re:Order and get
«
Reply #2 on:
05 Feb 2003, 15:50:21 »
like
[M16mag] exec "GimmeMyAmmo.sqs"
Logged
Pointman
Guest
Re:Order and get
«
Reply #3 on:
05 Feb 2003, 21:21:33 »
you probably would like to make something like:
[M16Mag,_player] exec "gimmeammo.sqs"
and in the script use the AddMagazine function
Logged
dmakatra
Members
Better known as Armsty
Re:Order and get
«
Reply #4 on:
05 Feb 2003, 22:01:11 »
yes I know, but the problem is that the user of the scriptÂ's (official script) able to use all sorts of ammo. But how do I know witchÂ's ammo thatÂ's what?
Sorry for the Noob behaviour.
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
) »
Order and get
Top of page