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

Game.createMonster doesnt work on fields?

Nekiro

Legendary OT User
TFS Developer
Joined
Sep 7, 2015
Messages
2,677
Solutions
126
Reaction score
2,112
Today I tested function Game.createMonster and it looks like when I put fire bomb or any other field that monster is not immune to(?) to position when my boss should spawn it is not. It just dont do anything. Any error in console. Can someone test this ?
Im using Tfs 1.2.
 
Code:
Game.createMonster(monsterName, position[, extended = false[, force = false]])

    Description: Creates a monster.
    Parameters:

        monsterName - Name of the monster to be created
        position - Where do we place it?
        extended - Extend the range? (optional, default: false)
        force - Will it be created even if it cannot stand at the position? (optional, default: false)

    Returns: The monster created. (userdata)
    Example:

    -- This should always create this monster.
    local monster = Game.createMonster("demon", Position(100, 100, 7), false, true)
    if not monster then
        -- Something went wrong?
    end
Source:
https://github.com/otland/forgotten...osition[, extended = false[, force = false]]}
 
Back
Top