Jump to content
  • 0

adjust size for *monster script_command


Question

14 answers to this question

Recommended Posts

Posted

If you add 20000 to the monster ID, the monster will be spawned in a 'big
version', (monster size class will increase) and if you add 10000, the 'tiny
version' of the monster will be created. However, this method is deprecated
and not recommended, as the values to add can change at a later time (20000
and 10000 actually stand for 2*MAX_MOB_DB and MAX_MOB_DB respectively, which
is defined on mob.h, and can change in the future as more mobs are created).
The recommended way to change a mob's size is to use the event-field (see
below).

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/script_commands.txt

  • Upvote 1
Posted (edited)

actually, this command is for perma mob spawns. i'm not using my command as a permanent mob spawn, i just want to spawn the monster once in my script because it triggers OnEvents.

Edited by sizenine
Posted

um i didnt test it because i need to use OnMobDeath events. i dont think that works with perma spawns. :P

prt_fild08,0,0,0,0 monster Poring,50 1002,70,0,0,"NPCNAME:OnMobDeath"
Posted

Just add 2000 to the monster id and see what happens. I know that portion came from the permanent monster spawn but it might very well work for the method you're trying as well. Can't know until it's actually tested out.

  • Upvote 1
Posted (edited)

Arc, I'm actually using this in your 300 Monster script.. I don't even know how to set this in there when the line has no semi colon to end it.

This is what I have:

OnTimer10000:

instance_announce 0,'chamonname4$+": Then I shall see you myself!",bc_map;

'mapname$,150,150,150,150 monster 'chamonname4$ 'chamonid4,1,0,0,instance_npcname("#MvP Summoner", instance_id())+"::OnMy300MVPDead"

stopnpctimer;

end;

tested it and i get an script error: "parse_line: expect command, missing function name or calling undeclared function".

i believe this command is only meant for stand-alone perma mob spawns and not to be used inside npc scripts.

Edited by sizenine
Posted

You're missing a ; in the third line.

You need to add 20000 the monster ids in the following entries:

setarray .@chamonid[0],1015,1023,1122;
setarray .@chamonid2[0],1197,1273,1258;
setarray .@chamonid3[0],1865,1213,1308;
setarray .@chamonid4[0],1871,1190,1785;

Posted

i get the same error, i dont think that command is supposed to use a semicolon.

script error: "parse_line: expect command, missing function name or calling undeclared function".

Posted

You must not use variable for mapname in permanent monster spawns.

$mapname,150,150 .... wrong

prontera,150,150 .... OK

And you must not put permanent monster spawns inside another script.

map,x,y,d script ... {

map,x,y monster ... //wrong

}

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...