Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus equip / un-equip event #12

Open
drfh opened this issue Jan 26, 2016 · 1 comment
Open

Focus equip / un-equip event #12

drfh opened this issue Jan 26, 2016 · 1 comment

Comments

@drfh
Copy link

drfh commented Jan 26, 2016

Can't find out when the player equips and un-equips a focus.
I may be missing how to do this so please let me know.

You have the code to only charge the want when it is in hand in the beginning of research.
Could you please forward that status to the ItemFocusBasic class in some sort of way?

onActive or onUpdate (...,isSelected=true)

I am trying to create 2 scenarios.

  1. Create a torch place focus for long distance like your builder wand. :)
  2. When focus is equipped and correctly upgraded, then generate a lighting effect.
@drfh
Copy link
Author

drfh commented Jan 26, 2016

scenario 3
Play sound when equipped. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant