Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
quincy

check if enemy is spotted

Recommended Posts

i have a group that will be kicked out of a vhehicle and locked out to fight "IF"

the group can see the enemy, so i want like a triger or a script to be condition as.

if the groupoup can see enemy, then unasignvehicle player; car vehiclelock true;

you get the point, i just want all of that to be conditiond on the seeing of the enemy.

Share this post


Link to post
Share on other sites

I would imagine there is some pretty detailed stuff but here's a simple way.

place a trigger and setup as follows

axis a 300 axis b 300

opfor

detected by blufor

name trig1

Cond

this and speed car <=15

on act

{_x leaveVehicle car; }forEach units car;car setVehicleLock "locked"; Hint " getout";

In the cars init

trig1 attachto [car,[0,0,0]]

The car will have to be going less than 15 KMPH/MPH before they will be ejected from the vehicle.

Share this post


Link to post
Share on other sites
I would imagine there is some pretty detailed stuff but here's a simple way.

place a trigger and setup as follows

axis a 300 axis b 300

opfor

detected by blufor

name trig1

Cond

this and speed car <=15

on act

{_x leaveVehicle car; }forEach units car;car setVehicleLock "locked"; Hint " getout";

In the cars init

trig1 attachto [car,[0,0,0]]

The car will have to be going less than 15 KMPH/MPH before they will be ejected from the vehicle.

lmao i already did all dat exept da detected part lol i will try it

---------- Post added at 03:53 AM ---------- Previous post was at 03:29 AM ----------

I would imagine there is some pretty detailed stuff but here's a simple way.

place a trigger and setup as follows

axis a 300 axis b 300

opfor

detected by blufor

name trig1

Cond

this and speed car <=15

on act

{_x leaveVehicle car; }forEach units car;car setVehicleLock "locked"; Hint " getout";

In the cars init

trig1 attachto [weeeee

The car will have to be going less than 15 KMPH/MPH before they will be ejected from the vehicle.

works great thankd

Share this post


Link to post
Share on other sites
Sign in to follow this  

×