Jump to content
  • 0

Hello ra Devs


freehit21

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   0
  • Joined:  08/27/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

provide error screen or something?

hideoffnpc "<Your npc name>";

and

hideonnpc "<Your npc name>";

will be enought for what you want o:

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

What npc you like to do these changes?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  05/27/12
  • Last Seen:  


OnAgitStart:

OnAgitStart2:

disablenpc "<NPC name>";

end;

OnAgitEnd:

OnAgitEnd2:

enablenpc "<NPC name>";

end;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   0
  • Joined:  08/27/13
  • Last Seen:  

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 by freehit21
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

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;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   0
  • Joined:  08/27/13
  • Last Seen:  

 

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. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

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>";
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   0
  • Joined:  08/27/13
  • Last Seen:  

ok sir. i will try it for the first time. :D


- 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 by freehit21
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

Why not working?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   0
  • Joined:  08/27/13
  • Last Seen:  

it doesnt hide the npc when the agit started...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  142
  • Reputation:   8
  • Joined:  02/11/13
  • Last Seen:  

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;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

 

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 "< >"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   0
  • Joined:  08/27/13
  • Last Seen:  

 

 

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  142
  • Reputation:   8
  • Joined:  02/11/13
  • Last Seen:  

you don't need "< >", these are only placeholders^^

maybe these are the wrong npc names you've told here?

Edited by 15peaces
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   0
  • Joined:  08/27/13
  • Last Seen:  

that their names that ive posted. maybe the syntax are wrong.. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

Try to add the script, open the console and turn woe On.

Then check the console if there are any error.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   0
  • Joined:  08/27/13
  • Last Seen:  

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. ^_^
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

glad to know that it works as you like :)

Link to comment
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
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

×
×
  • Create New...