![](https://rathena.org/board/uploads/set_resources_15/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://rathena.org/board/uploads/set_resources_15/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
stunkiller
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by stunkiller
-
-
5 hours ago, Kreustoo said:
Hello,
There's an error in OnBossDead: .@event$ is a temporary variable and you're using it on OnBossDead without giving it a value (so either you replace by .event$ or copy paste your initalisation).
Hi,
Im sorry I still don't understand, could you perhaps guide me about this?
Thanks. -
Hello,
Im trying to make the mvp spawn in a specific map (pvp_y_1-1)
when the mvps is alive, pvp will be turned on and off when all mvps are dead
and there will be an announcement of remaining mvps inside.
Here are my problems,
When the mvps is dead, the pvp wont turn off.
And there are no announcement about how many mvps are remaining.
I really need some help
Thank you in advance!
Quote- script mvpspawner -1,{
OnClock1130:
OnClock2330:
.@event$ = strnpcinfo(0)+"::OnBossDead";
if( mobcount( "pvp_y_1-1",.@event$ ) )
killmonster "pvp_y_1-1",.@event$;
pvpon "pvp_y_1-1";
monster "pvp_y_1-1",100,119,"Faceworm Queen",2529,1,.@event$;
monster "pvp_y_1-1",44,204,"Faceworm Queen (Yellow)",2535,1,.@event$;
monster "pvp_y_1-1",156,315,"Faceworm Queen (Red)",2532,1,.@event$;
monster "pvp_y_1-1",268,204,"Faceworm Queen (Blue)",2534,1,.@event$;
monster "pvp_y_1-1",237,79,"Faceworm Queen (Green)",2533,1,.@event$;
announce "FACEWORM QUEENS HAS AWAKEN! DEAR ADVENTURE, PLEASE PUT THEM TO SLEEP.",bc_all;
end;OnBossDead:
set .@mob_dead,mobcount("pvp_y_1-1", .@event$);
if (.@mob_dead < 1) {
pvpoff "pvp_y_1-1";
}
else
announce "Remaining" + .@mob_dead + "MVPs left.",bc_all;
end;
}
MVPs announce & PVP on/off
in Scripting Support
Posted
Hi, thank you so much it works.
if this is enabled it become like that, and i've already removed it.
again, thank you so much. @Kreustoo