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
) »
Detect if a player is in a vehicle
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Detect if a player is in a vehicle (Read 462 times)
0 Members and 1 Guest are viewing this topic.
max_killer_payne
Guest
Detect if a player is in a vehicle
«
on:
02 Jul 2003, 19:26:00 »
I have a chopper called: (suprise) chopper
Then I have a man called: player
And another man called: pilot
whats the code line to detect if they're all inside the vehicle?? LCD u betta b online!! I need this fast!
Logged
Igor Drukov
Contributing Member
Conscientious Subjector
Re:Detect if a player is in a vehicle
«
Reply #1 on:
02 Jul 2003, 19:32:06 »
In a trigger :
condition : (player in chopper) and (pilot in chopper)
onactivation : whatever you need.
Logged
LCD
Former Staff
Re:Detect if a player is in a vehicle
«
Reply #2 on:
02 Jul 2003, 19:33:55 »
u can do it in 2 wayz ;D
put in da activision of da triger
1) (pilot in chopper) and (player in chopper)
2) "_X in chopper" count [pilot,player] == 2
LCD OUT
[edit] i cant belive it
im geting slower :-X but i provide more options ;D
«
Last Edit: 02 Jul 2003, 19:34:38 by LCD
»
Logged
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing -
O-Team Beta
max_killer_payne
Guest
Re:Detect if a player is in a vehicle
«
Reply #3 on:
02 Jul 2003, 19:35:23 »
lol, cheers
Igor Drunkov
and
LCD
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
) »
Detect if a player is in a vehicle
Top of page