Hello. As the title says, i need a script that moves the training player from his pos to another after 1h.
I tried on my own and this is what i've done haha
The problem is. I wan't to use the uid = 64187 more the one time. And since i have alot of trainers the "standpos" need to be adjustable to the different training rooms.
Most of my training rooms looks like this.
1 - trainers
2 - Player & uid tile.
* - Non walkable tile
*2*
1*1
Would be awesome if someone could help me with this.
Hope you understand how i mean!
Don't have more time to write now!!
Thx in advanced.
I tried on my own and this is what i've done haha
Code:
config = {
topos = {x=32727, y=31964, z=14},
standpos = {x=32724, y=31970, z=15}
}
function onStepIn(cid, item, position, fromPosition)
if item.uid == 64187 then
addEvent(doRelocate,10 * 1000, config.standpos, config.topos)
end
return 1
end
The problem is. I wan't to use the uid = 64187 more the one time. And since i have alot of trainers the "standpos" need to be adjustable to the different training rooms.
Most of my training rooms looks like this.
1 - trainers
2 - Player & uid tile.
* - Non walkable tile
*2*
1*1
Would be awesome if someone could help me with this.
Hope you understand how i mean!
Don't have more time to write now!!
Thx in advanced.