• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

item to monster

Joined
Mar 7, 2017
Messages
46
Solutions
1
Reaction score
6
it is possible to make an item in the backpack create a monster in a some place in spesific?

oh like a rune but when using it create a monster
 
Solution
X
LUA:
local monster = "rat"
local spawn_position = Position(1000, 1000, 7)

function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    Game.createMonster(monster, spawn_position)
    return true
end
LUA:
local monster = "rat"
local spawn_position = Position(1000, 1000, 7)

function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    Game.createMonster(monster, spawn_position)
    return true
end
 
Solution
Back
Top