• 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!

Place monster

klepacz

New Member
Joined
Aug 12, 2015
Messages
35
Reaction score
0
Hiho
I need a possibility to place monsters on notwalkable tiles and to place few monsters on the same tile.
It was possible in older versions of tfs, im using 1.2

I've tried some src edit (map.cpp) but mission failed

Thanks for any help :)
 
Code:
Game.createMonster(monsterName, position[, extended = false[, force = false]])
example:
Code:
Game.createMonster("Demon", Position(100, 100, 7), false, true)
 
I was thinking about src edit (Map::placeCreature) but after 1h i have no progress
do you want to put all monsters by this way that you wanted?
if not..here a small exemple of globalevent startup
Code:
function onStartup()
    Game.createMonster('MonsterName', Position(xxx,xxx,x), true, true)
    return true
end
 
Back
Top