freehit21 Posted May 6, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 68 Reputation: 0 Joined: 08/27/13 Last Seen: August 21, 2015 Share Posted May 6, 2014 Hi guys, i would like to request a script that disables npc like this ff.: 1. npc disables when the WOE is on. 2. npc hides when the instance tower is on.. does anyone know bout this sir. am having a hard time on searchin for this script for a days. Quote Link to comment Share on other sites More sharing options...
Kido Posted May 10, 2014 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Share Posted May 10, 2014 provide error screen or something? hideoffnpc "<Your npc name>"; and hideonnpc "<Your npc name>"; will be enought for what you want o: 1 Quote Link to comment Share on other sites More sharing options...
Promise Posted May 6, 2014 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 386 Reputation: 38 Joined: 04/28/13 Last Seen: March 22, 2024 Share Posted May 6, 2014 What npc you like to do these changes? Quote Link to comment Share on other sites More sharing options...
PHiLiP Posted May 6, 2014 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 24 Reputation: 1 Joined: 05/27/12 Last Seen: January 27, 2018 Share Posted May 6, 2014 OnAgitStart: OnAgitStart2: disablenpc "<NPC name>"; end; OnAgitEnd: OnAgitEnd2: enablenpc "<NPC name>"; end; Quote Link to comment Share on other sites More sharing options...
freehit21 Posted May 7, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 68 Reputation: 0 Joined: 08/27/13 Last Seen: August 21, 2015 Author Share Posted May 7, 2014 (edited) What npc you like to do these changes? i'd like to disable these npc when agit start: poring catcher: pvp room: disguise event: and these stance tower id like to disable the 1st npc when theres inside the instance tower means one quester only.. this Endless tower. OnAgitStart: OnAgitStart2: disablenpc "<NPC name>"; end; OnAgitEnd: OnAgitEnd2: enablenpc "<NPC name>"; end; can you do the full script sir. Edited May 7, 2014 by freehit21 Quote Link to comment Share on other sites More sharing options...
Promise Posted May 7, 2014 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 386 Reputation: 38 Joined: 04/28/13 Last Seen: March 22, 2024 Share Posted May 7, 2014 Just change <NPC Names> for your... npc names (? like: OnAgitStart: OnAgitStart2: disablenpc "<poring catcher>"; disablenpc "<pvp room>"; disablenpc "<disguise event>"; end; OnAgitEnd: OnAgitEnd2: enablenpc "<poring catcher>"; enablenpc "<pvp room>"; enablenpc "<disguise event>"; end; Quote Link to comment Share on other sites More sharing options...
freehit21 Posted May 8, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 68 Reputation: 0 Joined: 08/27/13 Last Seen: August 21, 2015 Author Share Posted May 8, 2014 Just change <NPC Names> for your... npc names (? like: OnAgitStart: OnAgitStart2: disablenpc "<poring catcher>"; disablenpc "<pvp room>"; disablenpc "<disguise event>"; end; OnAgitEnd: OnAgitEnd2: enablenpc "<poring catcher>"; enablenpc "<pvp room>"; enablenpc "<disguise event>"; end; what about endless tower sir? if some party uses the tower. the 1st npc will autohide the npc. Quote Link to comment Share on other sites More sharing options...
Patskie Posted May 8, 2014 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 6 hours ago Share Posted May 8, 2014 Much better if you consult the document provided by the rA staffs : doc/script_commands.txt *disablenpc "<NPC object name>"; *enablenpc "<NPC object name>"; These two commands will disable and enable, respectively, an NPC object specified by name. The disabled NPC will disappear from sight and will no longer be triggerable in the normal way. It is not clear whether it will still be accessible through 'donpcevent' and other triggering commands, but it probably will be. You can disable even warp NPCs if you know their object names, which is an easy way to make a map only accessible through walking half the time. Then you 'enablenpc' them back. You can also use these commands to create the illusion of an NPC switching between several locations, which is often better than actually moving the NPC - create one NPC object with a visible and a hidden part to their name, make a few copies, and then disable all except one. @Promise provided you a template. OnAgitStart: OnAgitStart2: disablenpc "<NPC object name>"; disablenpc "<NPC object name>"; disablenpc "<NPC object name>"; disablenpc "<NPC object name>"; disablenpc "<NPC object name>"; OnAgitEnd: OnAgitEnd2: enablenpc "<NPC object name>"; enablenpc "<NPC object name>"; enablenpc "<NPC object name>"; enablenpc "<NPC object name>"; enablenpc "<NPC object name>"; Quote Link to comment Share on other sites More sharing options...
freehit21 Posted May 8, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 68 Reputation: 0 Joined: 08/27/13 Last Seen: August 21, 2015 Author Share Posted May 8, 2014 (edited) ok sir. i will try it for the first time. - script npcdisabler -1,{ OnAgitStart: OnAgitStart2: enablenpc "<poring>"; enablenpc "<PVP ROOM>"; enablenpc "<disguise>"; end; OnAgitEnd: OnAgitEnd2: enablenpc "<poring>"; enablenpc "<PVP ROOM>"; enablenpc "<disguise>"; end; } not working sir? Edited May 8, 2014 by freehit21 Quote Link to comment Share on other sites More sharing options...
Promise Posted May 8, 2014 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 386 Reputation: 38 Joined: 04/28/13 Last Seen: March 22, 2024 Share Posted May 8, 2014 Why not working? Quote Link to comment Share on other sites More sharing options...
freehit21 Posted May 9, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 68 Reputation: 0 Joined: 08/27/13 Last Seen: August 21, 2015 Author Share Posted May 9, 2014 it doesnt hide the npc when the agit started... Quote Link to comment Share on other sites More sharing options...
15peaces Posted May 9, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 143 Reputation: 8 Joined: 02/11/13 Last Seen: 3 hours ago Share Posted May 9, 2014 Try this: - script npcdisabler -1,{ OnAgitStart: OnAgitStart2: disablenpc "poring"; disablenpc "PVP ROOM"; disablenpc "disguise"; end; OnAgitEnd: OnAgitEnd2: enablenpc "poring"; enablenpc "PVP ROOM"; enablenpc "disguise"; end; } Quote Link to comment Share on other sites More sharing options...
Promise Posted May 9, 2014 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 386 Reputation: 38 Joined: 04/28/13 Last Seen: March 22, 2024 Share Posted May 9, 2014 Try this: - script npcdisabler -1,{ OnAgitStart: OnAgitStart2: disablenpc "poring"; disablenpc "PVP ROOM"; disablenpc "disguise"; end; OnAgitEnd: OnAgitEnd2: enablenpc "poring"; enablenpc "PVP ROOM"; enablenpc "disguise"; end; } lol i forgot "< >" Quote Link to comment Share on other sites More sharing options...
freehit21 Posted May 10, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 68 Reputation: 0 Joined: 08/27/13 Last Seen: August 21, 2015 Author Share Posted May 10, 2014 Try this: - script npcdisabler -1,{ OnAgitStart: OnAgitStart2: disablenpc "poring"; disablenpc "PVP ROOM"; disablenpc "disguise"; end; OnAgitEnd: OnAgitEnd2: enablenpc "poring"; enablenpc "PVP ROOM"; enablenpc "disguise"; end; } lol i forgot "< >" "< >" where do i attach that sir? hehe i just paste it on my server but the npc is not hiding instead of not working even you click them until the woe is ended. how? Quote Link to comment Share on other sites More sharing options...
15peaces Posted May 10, 2014 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 143 Reputation: 8 Joined: 02/11/13 Last Seen: 3 hours ago Share Posted May 10, 2014 (edited) you don't need "< >", these are only placeholders^^ maybe these are the wrong npc names you've told here? Edited May 10, 2014 by 15peaces Quote Link to comment Share on other sites More sharing options...
freehit21 Posted May 10, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 68 Reputation: 0 Joined: 08/27/13 Last Seen: August 21, 2015 Author Share Posted May 10, 2014 that their names that ive posted. maybe the syntax are wrong.. Quote Link to comment Share on other sites More sharing options...
Promise Posted May 10, 2014 Group: Members Topic Count: 34 Topics Per Day: 0.01 Content Count: 386 Reputation: 38 Joined: 04/28/13 Last Seen: March 22, 2024 Share Posted May 10, 2014 Try to add the script, open the console and turn woe On. Then check the console if there are any error. Quote Link to comment Share on other sites More sharing options...
freehit21 Posted May 11, 2014 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 68 Reputation: 0 Joined: 08/27/13 Last Seen: August 21, 2015 Author Share Posted May 11, 2014 provide error screen or something? hideoffnpc "<Your npc name>"; and hideonnpc "<Your npc name>"; will be enought for what you want o: ok this works fine now than you sir Kido this is mine i use yours --------------------------------------------------------- - script npcdisabler -1,{ OnAgitStart: OnAgitStart2: hideonnpc "poring"; hideonnpc "PVP ROOM"; hideonnpc "disguise"; end; OnAgitEnd: OnAgitEnd2: hideoffnpc "poring"; hideoffnpc "PVP ROOM"; hideoffnpc "disguise"; end; } -------------------------------------------------------------------- on agit start i use "hideonnpc" and i see it hides... and then the agit now end i use "hideoffnpc" and i see it reveals.. thanks to all of you helps me alot. Quote Link to comment Share on other sites More sharing options...
Kido Posted May 11, 2014 Group: Members Topic Count: 127 Topics Per Day: 0.03 Content Count: 1445 Reputation: 164 Joined: 08/17/13 Last Seen: July 11, 2019 Share Posted May 11, 2014 glad to know that it works as you like Quote Link to comment Share on other sites More sharing options...
Question
freehit21
Hi guys, i would like to request a script that disables npc like this ff.:
1. npc disables when the WOE is on.
2. npc hides when the instance tower is on..
does anyone know bout this sir. am having a hard time on searchin for this script for a days.
Link to comment
Share on other sites
18 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.