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

Lua Convert functions for tfs 1.3

Status
Not open for further replies.

flaviiojr

Active Member
Joined
Jan 20, 2017
Messages
230
Solutions
13
Reaction score
39
Lua:
pos = {x = math.random(33091, 33101), y = math.random(31899, 31916), z = 10}
addEvent(doSummonCreature, i * 20 * 1000, creatures[math.random(1, 2)], pos)
addEvent(doSendMagicEffect, i * 20 * 1000, pos, CONST_ME_TELEPORT)

TFS 1.3 Client 10.98

Thank you very much in advance!
 
Solution
Lua:
pos = Position(math.random(33091, 33101), math.random(31899, 31916), 10)
addEvent(Game.createMonster, i * 20 * 1000, creatures[math.random(2)], pos)
addEvent(Position.sendMagicEffect, i * 20 * 1000, pos, CONST_ME_TELEPORT)
Lua:
pos = Position(math.random(33091, 33101), math.random(31899, 31916), 10)
addEvent(Game.createMonster, i * 20 * 1000, creatures[math.random(2)], pos)
addEvent(Position.sendMagicEffect, i * 20 * 1000, pos, CONST_ME_TELEPORT)
 
Solution
Lua:
pos = {x = math.random(33091, 33101), y = math.random(31899, 31916), z = 10}
addEvent(doSummonCreature, i * 20 * 1000, creatures[math.random(1, 2)], pos)
addEvent(doSendMagicEffect, i * 20 * 1000, pos, CONST_ME_TELEPORT)

TFS 1.3 Client 10.98

Thank you very much in advance!
static_ = flaviiojr
flaviiojr = static_
 
Lua:
pos = Position(math.random(33091, 33101), math.random(31899, 31916), 10)
addEvent(Game.createMonster, i * 20 * 1000, creatures[math.random(2)], pos)
addEvent(Position.sendMagicEffect, i * 20 * 1000, pos, CONST_ME_TELEPORT)
Thanks !! :D
 
Status
Not open for further replies.
Back
Top