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

[Creature Event or C++] Creatures return to old position.

Knight God

Member
Joined
Oct 19, 2008
Messages
1,180
Reaction score
21
Otland good afternoon, I am inspired today, I wonder if I can help with this request.

good order as it says the title is called: Monsters Return to old position or position of a player respawn when climbing stairs or entering Pz (Protection Zone) LIKE RL.

Well this is nothing more, simple to explain and understand, they do not understand, tell me and I'll explain better. ;)

dimensions that this idea let him out of Tibia. in the last update made version. 8.70,
Is this possible?

I want to know please. :D
 
well, I'll explain in detail.
Tibia Well now, there is a new function in the monsters, which is returning to spawn, for example:
I lure a grorlam and led him to Thais for example, well when I entered a protection zone that is returned to its original respawn if this monster is another character that will be returned to its source.
bone, returned to the position that was put before being lure. you understand me now?
 
+ cyko's question , that only happens if he didnt find another target there right? or as soon as his target die,get removed somehow, enter pc the monster go back to his spawn?
 
yeah. take a look at Monster::getNextStep! edit this part?
[cpp]//
if((!followCreature || !hasFollowPath) && !isSummon())
{
if(followCreature || getTimeSinceLastMove() > 1000) //choose a random direction
result = getRandomStep(getPosition(), dir);
}[/cpp]
 
basically, it's a feature available in TFS 0.4 which can, on Otland, only be downloaded by premium users. if i post any of the code, i'm risking a ban and/or loss of premium status
 
basically, it's a feature available in TFS 0.4 which can, on Otland, only be downloaded by premium users. if i post any of the code, i'm risking a ban and/or loss of premium status
hmmm, well thanks for your reply cykotitan.
I wonder how much the premium costs otland?
 
Back
Top