Solved Help me please

Question that is answered or resolved.

Smart Kitty

Well-known member
Hi friends. I'm trying to make a powerful ability that takes a long time to cast. but when it is cast. the enemy attacks and attacks the player killing him before the spell begins. Anyone know of a script to make the enemy unable to see the player?
 
Solution
Hi friends. I'm trying to make a powerful ability that takes a long time to cast. but when it is cast. the enemy attacks and attacks the player killing him before the spell begins. Anyone know of a script to make the enemy unable to see the player?
C:
void Stealth(int stealthLevel)
{
   void self = getlocalvar("self");
   changeentityproperty(self,"stealth",stealthLevel);
}

if player "stealth" value > enemy "detect" value
enemy not see player......
Hi friends. I'm trying to make a powerful ability that takes a long time to cast. but when it is cast. the enemy attacks and attacks the player killing him before the spell begins. Anyone know of a script to make the enemy unable to see the player?
C:
void Stealth(int stealthLevel)
{
   void self = getlocalvar("self");
   changeentityproperty(self,"stealth",stealthLevel);
}

if player "stealth" value > enemy "detect" value
enemy not see player......
 
Solution
C:
void Stealth(int stealthLevel)
{
   void self = getlocalvar("self");
   changeentityproperty(self,"stealth",stealthLevel);
}

if player "stealth" value > enemy "detect" value
enemy not see player......
O. O .. Thank you very much !! It works 100% hehe I had already given up and had put the shortest casting animation. Thank you, you saved my life
 
Back
Top Bottom