freehit21 Posted May 6, 2014 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
Kido Posted May 10, 2014 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
PHiLiP Posted May 6, 2014 Posted May 6, 2014 OnAgitStart: OnAgitStart2: disablenpc "<NPC name>"; end; OnAgitEnd: OnAgitEnd2: enablenpc "<NPC name>"; end; Quote
freehit21 Posted May 7, 2014 Author 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
Promise Posted May 7, 2014 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
freehit21 Posted May 8, 2014 Author 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
Patskie Posted May 8, 2014 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
freehit21 Posted May 8, 2014 Author 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
freehit21 Posted May 9, 2014 Author Posted May 9, 2014 it doesnt hide the npc when the agit started... Quote
15peaces Posted May 9, 2014 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
Promise Posted May 9, 2014 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
freehit21 Posted May 10, 2014 Author 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
15peaces Posted May 10, 2014 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
freehit21 Posted May 10, 2014 Author Posted May 10, 2014 that their names that ive posted. maybe the syntax are wrong.. Quote
Promise Posted May 10, 2014 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
freehit21 Posted May 11, 2014 Author 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
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.
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.