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
) »
getFuel ?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: getFuel ? (Read 1448 times)
0 Members and 1 Guest are viewing this topic.
bardosy
Honoured Contributor
campaign designer
getFuel ?
«
on:
09 Jun 2005, 10:08:04 »
How can I triggered an empty vehicle, when the player refuel it?
I can't finde the function getFuel, just the setFuel...
I want a setObjective "DONE" if the player refuel an Apache.
Logged
Fix bayonet!
qqqqqq
Guest
Re:getFuel ?
«
Reply #1 on:
09 Jun 2005, 11:04:04 »
fuel vehicle
Operand types:
vehicle: Object
Type of returned value:
Number
Description:
Check how much fuel is left in the gas tank, in range 0 to 1.
Example:
fuel vehicle player
Logged
bardosy
Honoured Contributor
campaign designer
Re:getFuel ?
«
Reply #2 on:
09 Jun 2005, 11:25:04 »
Thanks! I think I have an older reference...
I updated a new one.
Thanks again!!!
Logged
Fix bayonet!
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
) »
getFuel ?
Top of page