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
) »
someone has used car?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: someone has used car? (Read 1029 times)
0 Members and 1 Guest are viewing this topic.
Mike
Guest
someone has used car?
«
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
Logged
Tomb
Contributing Member
in2 Metal? Go 2 my sig
Re:someone has used car?
«
Reply #1 on:
09 Jan 2003, 00:18:03 »
try:
_vehicle = this select 0
? _vehicleD in _vehicle: blahblah
Logged
LCD
Former Staff
Re:someone has used car?
«
Reply #2 on:
09 Jan 2003, 00:26:07 »
LOL @ Tomb
Quote
I dont want to have to make a trigger for every car..
so u want him 2 exec script 4 every car ?
LCD OUT
«
Last Edit: 09 Jan 2003, 00:27:05 by LCD
»
Logged
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing -
O-Team Beta
Tomb
Contributing Member
in2 Metal? Go 2 my sig
Re:someone has used car?
«
Reply #3 on:
09 Jan 2003, 00:30:20 »
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
;D
Logged
Mike
Guest
Re:someone has used car?
«
Reply #4 on:
09 Jan 2003, 00:34:34 »
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?
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
) »
someone has used car?
Top of page