Jump to content

Recommended Posts

Posted

I'm working on using different colored chalks to write a run on the ground. Each color of chalk has it's own symbol. When making the chalk, I made one ItemChalk class so I could keep them all together. However, I'm having a little trouble on the onItemUse. I got it to work with only one color at a time, but I was hoping that I could get it to work with all 16. Is there any way that I can check to see which color chalk is being held/used, and then use the onItemUse to place the correct rune? Included are the DaemonologyItems class where the chalks are init/registered, and the ItemChalk class. Thank you for any help.

 

DaemonologyItems: http://pastebin.com/VhvkaYbU

 

ItemChalk: http://pastebin.com/Cew8weqE

"War doesn't determine who is right. Only who is left." -Bertrand Russell

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.