sestorme
Member
How to stick number to this:
So I could:
Any clues? I am 100% sure it's possible, but arrays were always my miss :/
LUA:
local Monsters = {
"Demon" [100],
"Wolf" [200],
}
LUA:
if isInArray(Monsters,getCreatureName(thing.uid)) then
local omg = "(number from config matching thing.uid name)"
Any clues? I am 100% sure it's possible, but arrays were always my miss :/