Could you simulate pressing a button when that click happens?lverona wrote:Let's say I have a certain script triggered by pressing a button. If I want the same thing to happen on a click, is there a way to just "point" to that script or "simulate a button press" without taking the script and duplicating it?
lcl wrote:Or maybe it would be easier to functionalize that code and then call the function whenever you need to.
koala wrote:Could you simulate pressing a button when that click happens?lverona wrote:Let's say I have a certain script triggered by pressing a button. If I want the same thing to happen on a click, is there a way to just "point" to that script or "simulate a button press" without taking the script and duplicating it?
char name[30];
getclone(name)->actor_variable;
I don't know about that.lverona wrote:Is there a way to programaticaly "press" a button?
Users browsing this forum: No registered users and 1 guest