Lopaskurwa
Active Member
- Joined
- Oct 6, 2017
- Messages
- 870
- Solutions
- 2
- Reaction score
- 49
Yo got an question what i noticed people use Position(x, y, z) and they dont add any script to a code so probably because its a stock feature in TFS right? So i tried using it on my local config but that shit didnt worked maybe information i have is false i guess because i mean
This entire monsterSystem is in global.lua which works like when you kill a monster you get those rewards (its combined with creaturescript) so i though if i kill monster this Position(45, 522, 6) should teleport me out somewhere, but didnt worked. Ideas?
Lua:
monsterSystem = {
[1] = {name = "Monster 1", expReward = 10000, Position(45, 522, 6), itemRewards = {
{ itemId = 6857, itemCount = 45, chance = 100 },
{ itemId = 5683, itemCount = 1, chance = 50 },
{ itemId = 5684, itemCount = 1, chance = 50 },
{ itemId = 5685, itemCount = 1, chance = 50 },
{ itemId = 5686, itemCount = 1, chance = 50 }
}},