Hello.
I need help for creating a new instance. I was looking for information here:
- https://github.com/rathena/rathena/blob/master/doc/sample/instancing.txt
- https://github.com/rathena/rathena/blob/master/doc/script_commands.txt (7.- Instance commands)
I need some advices like:
- How to create a map for instances, It can be original maps, for example: a prontera invasion but instanced.
- A simple instance example.
- Which is a must creating an instance.
I am trying to
instance_db.yml
- Id: 1
Name: Endless Tower
TimeLimit: 14400
Enter:
Map: 1@tower
X: 50
Y: 355
NPC script
prontera,155,181,5 script Sample 757,{
.@instance_name$ = "Endless Tower";
if (!is_party_leader()) end;
switch(select(
"Create",
"Enter",
"Destroy"
)) {
case 1:
instance_create(.@instance_name$, IM_PARTY);
break;
case 2:
switch(instance_enter(.@instance_name$)) {
case IE_NOMEMBER:
mes "ERROR: Party not found.";
brea