Jump to content
Sign in to follow this  
SpaydCBR

EH on Server created vehicle won't trigger

Recommended Posts

I've added a "Killed" event handler to a vehicle created by the server. It seems that if a client destroys the vehicle, its EH doesn't trigger. Why such? I thought vehicles and damage done to them were global.

Share this post


Link to post
Share on other sites

Ah, that seems to have worked. Thanks!

Would you mind explaining why the regular "Killed" EH wouldn't work?

Share this post


Link to post
Share on other sites

Ah, that seems to have worked. Thanks!

Would you mind explaining why the regular "Killed" EH wouldn't work?

the vehicle might have change locality before it got killed

Share this post


Link to post
Share on other sites

Ah yes, I just found out that a vehicle changes locality to the client that is driving it. Thanks killzone_kid!

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  

×