Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script command to create npc #2773

Open
xBeret opened this issue Jun 12, 2020 · 2 comments
Open

Script command to create npc #2773

xBeret opened this issue Jun 12, 2020 · 2 comments
Labels
component:core:scriptengine Affecting the script engine or the script commands status:confirmed Issue is valid and can be reproduced status:needs-info More information is needed before the issue can he handled type:enhancement Issue describes an enhancement or feature that should be implemented

Comments

@xBeret
Copy link

xBeret commented Jun 12, 2020

Is your feature request related to a problem? Please describe.
None

Describe the solution you'd like
None

Describe alternatives you've considered
None

Additional context
In aegis there are some items that create a temporary npc when clicking on an item.

Some information is:

  • The npc remains for 1 minute on the map the item was used on.
  • Npc cannot be invoked again until it has disappeared
  • When changing the map the npc remains on the map that was invoked until it disappears after 1 minute
  • When logging out the character the npc is destroyed

Some missing information:

  • Does the npc appear only to the character that invokes it?

here a video showing more about this mechanics

https://www.youtube.com/watch?v=wirgoSZhi2g

about the item:

https://ro.gnjoy.com/guide/runemidgarts/itemview.asp?itemSeq=6&ID=23278

@Jedzkie Jedzkie added component:core:scriptengine Affecting the script engine or the script commands status:confirmed Issue is valid and can be reproduced status:needs-info More information is needed before the issue can he handled type:enhancement Issue describes an enhancement or feature that should be implemented labels Jun 13, 2020
@Jedzkie Jedzkie added this to the Match Official Content milestone Jun 13, 2020
@Kenpachi2k13
Copy link
Member

There's something in progress: #2473

I'm not quite sure if this one really is suitable, maybe we need another command like temp_npc().

@Emistry
Copy link
Member

Emistry commented Jul 3, 2020

I think that PR (forgotten to fix the PR >.<) should be enough to cater these scenario as long as they do it the right way.
create NPC, then delete the NPC after done, to avoid reaching the max NPC in a map.
But that's just my assumption how things work, I don't know how it work in AEGIS, or if there are any equivalent ways to do it.

But I am curious what would happen in kRO, especially town maps, where there are probably 10k players are there, and everyone of them used the same item to call an NPC, would it create 10k of temporary NPCs? o-o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:core:scriptengine Affecting the script engine or the script commands status:confirmed Issue is valid and can be reproduced status:needs-info More information is needed before the issue can he handled type:enhancement Issue describes an enhancement or feature that should be implemented
Projects
None yet
Development

No branches or pull requests

4 participants