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

Moving Effect

Mooosie

mistofdeath.com
Premium User
Joined
Aug 2, 2008
Messages
739
Solutions
2
Reaction score
50
Location
Sweden
Hello!
I want an effect while people is walking. eXample, when they are taking a stage it makes a spell effect (example FIREAREA) at the players moving zone before they took the stage.

example:

0 = the player
§ = the magic effect

1. 0
1. §0

that means that, when the player are taking the step the server is making a effect on the past stage the player took. Hope you understand.

Thx ;)
 
something with movements like doSendMagicEffect(fromposition,CONST_ME_POFF) ~
something in creaturescript with addevent(doSendMagicEffect....).

is all you need. :)
 
You would need onPlayerMove event or something to achieve it in lua.

for c++, go to player.cpp file and find void Player::onCreatureMove. Now, paste at the end of this function line that will send magic effect each time player moves:
Code:
g_game.addMagicEffect(getPosition(), CONST_ME_POFF);
 
Back
Top