Skip to content
#3720
Auto-translated

Jewily
Basically, if there are no creatures in that index, it will give you an error. I don't know of a way to catch this error other than using error hooks or pCall, so for now, just ignore it; I don't see the point in you worrying about catching errors right now. If it becomes a problem, let me know. It's annoying, but I don't know how to determine which indices contained creatures.
P.S.
Don't slots start at 1?
Got it. I'll try adjusting the text to fit this function now. I hope it works as intended and without any issues, and I don't really care about console errors that don't break the game :D

The manual says it starts at 0.

"The stack index number is selected with the "creatureIndex" parameter and counts off from 0."

Statistics

Welcome our newest member: dodoD0D0

Users Online 3 users 1490 guests