
Originally Posted by
damankin6
Thank you guys for the replies, works exactly as i wanted! ♥
I didn't know you could do this...very interesting. I have to try this when I'm home.
I think it would be make custom quest NPC's (or edit old ones) to say something like:
Code:
} else if (status == 1) {
if (selection == 0) {
cm.sendOk("#h #, can you please collect #k 50# #v4000010# from \r\n#fMob/0100006.img/move/0#"); //50 Slime Bubbles, Green Slime
Few questions though. How big will it display the mob.img? For example, if we throw Zakum's body in there...yeah.
Does a guide exist that breaks down all .js functions (such as #h #, #k #, \r\n, etc..), because I'd love to make one for the community instead of remembering or looking at other files. Reason I ask is because I've come across several methods for displaying an item image used in NPC's:
##4031711# Method
Code:
cm.sendSimple("You will be brought in immediately. Which ticket you would like to use?#b\r\n#L0##4031711#");
#v4031711# Method
Code:
cm.sendSimple("You will be brought in immediately. Which ticket you would like to use?#b\r\n#L0#v4031711#");
#i4031711# Method
Code:
cm.sendSimple("You will be brought in immediately. Which ticket you would like to use?#b\r\n#L0#i4031711#");
All methods above work for displaying an item image inside an NPC. If anyone can specify why, that would be great. If a guide exists, please point me in the direction (or I'll begin making it). And if no one can post a screenshot on the mob image for size reference, I'll upload some tomorrow.
EDIT:
I forgot @Shawn made a guide on the NPC's.
Link:
http://forum.ragezone.com/f428/add-l...finish-643364/