• Accessing and controlling tool functionality from other gamemodes
    1 replies, posted
Dear People, I am seeking help to achieve tool functionality based on gamemode variables. As an example, I would like to make thrusters usable only when they are connected to a thruster controlling entity via rope, and if the thruster controlling entity has a set network variable. As in, after player sets thruster properties and puts down a thruster, if the player presses any controlling buttons, the thruster will not react until the above conditions are met. Is it possible to do so with the base gmod_thruster, or am I going to need to make a specific thruster stool? thank you very much in advance! Regards, Papi
[QUOTE=papi;52575638]Dear People, I am seeking help to achieve tool functionality based on gamemode variables. As an example, I would like to make thrusters usable only when they are connected to a thruster controlling entity via rope, and if the thruster controlling entity has a set network variable. As in, after player sets thruster properties and puts down a thruster, if the player presses any controlling buttons, the thruster will not react until the above conditions are met. Is it possible to do so with the base gmod_thruster, or am I going to need to make a specific thruster stool? thank you very much in advance! Regards, Papi[/QUOTE] Dear All, I think I have found the solution. I can access them with metatables using FindMetaTable, and overwrite some of the functions. Thanks for reading this thread. Regards, Papi
Sorry, you need to Log In to post a reply to this thread.