silveralol
Advanced OT User
- Joined
- Mar 16, 2010
- Messages
- 1,480
- Solutions
- 9
- Reaction score
- 212
hello folks, I'm wondering if is possible set monster flags to monsters with lua
exemple:
so if is possible, how I should do it?
exemple:
Code:
local monster = Game.createMonster('rat', Position(x, y, z), true, true)
if monster then
monster:setAttackable(true) -- that line means <flag attackable="1"/>
end