Jump to content
Sign in to follow this  
Nailpolish

How do I execute something when player enters vehicle of specific type?

Recommended Posts

I want to create a mod that activates whenever a player gets in a vehicle of a specified type (landvehicle for example) and disables upon disembarkment.

My initial thinking is this would be achieved through use of eventhandlers but I've never used any before. Any help would be greatly appreciated

Share this post


Link to post
Share on other sites

And how do I use that?

I've never had any need for an eventhandler before, a simple how-to would be great

Share this post


Link to post
Share on other sites

sorry man i was being as specific as you were. have you any more detail about what you're trying to do?

activate a mod, as in activateaddons command?

Share this post


Link to post
Share on other sites

I want to make a mod

as in a pbo

that when loaded checks if I enter a vehicle of a specific type

and if I'm in that specific vehicle type it does something

and is then disabled when I step out of the vehicle

Share this post


Link to post
Share on other sites

still a little too vague to be able to help

Share this post


Link to post
Share on other sites

There's nothing vague about my question, what I want it to do when active isn't relevant at this point, just how to get it to activate/deactivate when wanted.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×