paw Posted June 6, 2017 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 21 Reputation: 1 Joined: 05/19/17 Last Seen: July 7, 2017 Share Posted June 6, 2017 How to not let an invisible player talk to an NPC? Quote Link to comment Share on other sites More sharing options...
1 Tokei Posted June 7, 2017 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: 18 hours ago Share Posted June 7, 2017 (edited) I'd go with if (checkoption(0x2|0x4|0x4000|0x40)) { mes "Please unhide yourself."; close; } Where 0x2 = OPTION_HIDE 0x4 = OPTION_CLOAK 0x40 = OPTION_INVISIBLE (GM hide and feint bomb) 0x4000 = OPTION_CHASEWALK Edited June 7, 2017 by Tokei 6 Quote Link to comment Share on other sites More sharing options...
0 Deleted User Posted June 6, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share Posted June 6, 2017 14 minutes ago, paw said: How to not let an invisible player talk to an NPC? prontera.gat, 156, 180, 5 script Detective 100,{ if( getstatus(SC_HIDING) ) { mes "Please unhide your self."; close; } else { mes "How may i help you?"; close; } } 1 Quote Link to comment Share on other sites More sharing options...
Question
paw
How to not let an invisible player talk to an NPC?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.