Jump to content
Sign in to follow this  
Pac Man

Anyway to return whom pressed a dialogs button?

Recommended Posts

I've a simple yes no dialog. Like an addaction, is there anyway to determine whom pressed a button?

Share this post


Link to post
Share on other sites

You could publicVariable the player as a variable and broadcast to wherever you need it to be compared.

Share this post


Link to post
Share on other sites

Ahh =/. That's too hacky for me atm. Though surely a valid solution. I was more hoping it worked along the lines of an addaction :p Thanks for the reply none the less. :cool:

Share this post


Link to post
Share on other sites

arent dialogs only local? so only the local player could be the one who pressed the button?

what you do with that info depends (like said above) where you need to compare that info

Share this post


Link to post
Share on other sites
arent dialogs only local? so only the local player could be the one who pressed the button?

what you do with that info depends (like said above) where you need to compare that info

I think dr_strangepete is right, the person who clicked the button is the one running the dialog so you should be able to just use player.

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  

×