Jump to content
Sign in to follow this  
OldHero

Disable Stealth

Recommended Posts

Check stealth skill "skill_ys_end" and put something like...

 

if(map == "garner2")then
	--disable skill function (can be found within any skill function)
	return
end

 

 

  • Like 1

Share this post


Link to post
Share on other sites

@Sultan i did put in ys_end like this

  if (map == "07xmas2") then
        RemoveState ( ATKER , DEFER , STATE_YS , statelv , statetime ) 
    
    return
end

But it still dont want to work

Share this post


Link to post
Share on other sites
1 hour ago, OldHero said:

Hm any example i was trying take from deathcircle but it always give error ?? 

 

just use

SkillUnable ( role )


logo-big.png   logo.png

                                   Sunny Go! Online                                                                    pko.host                                                 

Share this post


Link to post
Share on other sites
1 hour ago, OldHero said:

Bro i fixed it work but when i enter with stealth it wont off it will be still in stealth hmm?

 

1 hour ago, Onioni said:

one way to add in portal function that you can't entry if you are stealted.


check state of player, if state = stealth then return 0


logo-big.png   logo.png

                                   Sunny Go! Online                                                                    pko.host                                                 

Share this post


Link to post
Share on other sites
1 hour ago, Onioni said:

one way to add in portal function that you can't entry if you are stealted.

@OldHero

It Should Be Like This 
function after_enter_garner2( role , map_copy )

RemoveState ( player , STATE_YS ) -- Removing Stealth 

end

 

  • Like 1

Kind regards, AG.

Share this post


Link to post
Share on other sites
39 minutes ago, OldHero said:

Joker i did but no work same hmm?

function after_enter_garner2( role , map_copy )

RemoveState ( role , STATE_YS ) -- Removing Stealth 

end

should work


logo-big.png   logo.png

                                   Sunny Go! Online                                                                    pko.host                                                 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...