#Importing SpellPreCastEvent from Iron's Spellbooks and using it in code.

29 messages · Page 1 of 1 (latest)

amber nicheBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

devout rain
#

ForgeEvents.onEvent("io.redspace.ironsspellbooks.api.events.SpellPreCastEvent", event => {
console.log("Event fired!")
})

#

on Startup

#

or you can use kjs ironspells addon

tight ferryBOT
#

Choose one of the addons below:

devout rain
#

rip, not on this list

devout rain
#

if the event don't fire for the addon, won't fire anyway:/

#

the addon listens for it

#

you are saying the SpellPreCastEvent doesn't include the spell?

#

why are you talking about SpellOnCast for plugin and not PreCast?

#

so you are saying the addon don't have the precast event to listen for?

#

what probejs says?

past goblet
#

I actually have yet to use probejs D:

devout rain
#

it does exists

past goblet
#

lol ofc

devout rain
#

probejs would tell you

wanton sleet
#

Let me guess

past goblet
#

Idk how to use probejs so that's probably gotta be my next project

wanton sleet
#

Your issue is that spell casting brings the camera into the player’s face?

past goblet
#

Yes

wanton sleet
#

Turn of first person cast animations in ISS config

past goblet
#

I still want first person cast anims

#

this fixed it

#

best of both worlds thank you

amber nicheBOT
#

Ticket closed!

wanton sleet
#

Huh. Can you actually put this in #1048591172165189632

#

I feel like a lot of people would want to use it