OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mike on 09 Jan 2003, 00:12:29
-
What would be the best way to find out if someone is inside a vehicle? I am making a simple car theft script and I dont want to have to make a trigger for every car.. so if I can execute something that will activate when someone gets in the car. How and Thanks :)
-
try:
_vehicle = this select 0
? _vehicleD in _vehicle: blahblah
-
LOL @ Tomb
I dont want to have to make a trigger for every car..
so u want him 2 exec script 4 every car ?
::) ::) ::)
LCD OUT
-
nope! I just forgot to add the triggerName-part of it all ::)
som'n about "all cars in thislist == _vehicle (if anyone gets into one of 'em)
sorry lsd, too busy to think clear right now! she's going down again ::) 8) ;D
-
what about if the fuel isn't exactly 1?
? fuel of _unit > 1 : Goto "ok"
I dont know if Im supposed to use a < or >
is there a way to check fuel status of a unit?