Jump to content
Sign in to follow this  
Wiki

Problem with damage and trigger

Recommended Posts

Hi guys.

 

I got a problem.

 

I have a vehicle, damaged at 71%.

The player is an engineer and has a repair kit to repair the vehicle.

I set a trigger with "damage vehicle < 0.7"

But when the player repairs the vehicle, nothing happens.

 

Does someone know why?

Or can help me to have the trigger be activated when the vehicle is repaired?

 

 

OR

 

I used this code "this setHit ["wheel_1_1_steering", 1];" so that the front left wheel of the vehicles is destroyed.

How to check when the wheel is repaired?

 

Thanks.

 

EDIT:

found another way with canMove command.

Still, the problem remains with the "damage" command

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×