#I just want my custom beamaxe to glow

1 messages · Page 1 of 1 (latest)

fiery rose
#

you cant use player.uniqueId here

#

did you not ever . notice the part that says 'player' is the nil value in question

distant kiln
#

I did, but how else will I get the player's position?

#

I tried mcontroller.position, but also gave me the same error

#

What am I missing? There's only 3 files that use localAnimator.addLightSource, and none of them reference the player - they reference projectiles.

fiery rose
#

idk lol

#

what do beamaxes have

#

they probably dont have localanimator actually

distant kiln
#

I added this the other day, and it's been working
"scripts" : ["/items/tools/lorenzbeamaxe.lua"], "scriptDelta" : 10, "notifyEntityTime" : 0.5, "animationConfig" : "lorenzbeamaxe.animation"

#

The only issue is the nil issue

#

That and no glow

#

I'm honestly thinking the animation file is moot in this scenario

#

Considering the addLightSource is providing the light

fiery rose
#

except its not

#

beamaxes cant use localanimator

#

and also theres no way to get the players position either. lol

distant kiln
#

So, there's no way of having a beamaxe glow?

fiery rose
#

probably not