I have a problem. Like I have a gossip and I select first option which makes gossip move random for 5 minutes for example. What I want to do it. Player's can't talk to him untill he move around.
Is possible ? And how ?
Eluna can get the unit's movement type. So you can run a simple if/then check in the gossip menu. Here's the Eluna function I am looking at, GetMovementType()
For example:
Code:
if creature:GetMovementType() == 3 then
return true
else
player:GossipMenuAdditem(0, "Menu Item", 1)
player:GossipSendMenu(0, creature)
end
Well I think that depends on what is done when that option is pressed. Can you explain what you're actually trying to accomplish, or provide your current script?