From The Mana World
(Redirected from Dev talk:TmwAthena Scripting Reference)
category ideas
My ideas for categories(/subcategories): syntax, dialog, status (/appearance/skill/temporary/permanent), location, item (/equipment/storage/drops/inventory), common functions(/mathematical/time), timers/events
o11c 00:02, 18 August 2011 (CEST)
implicit local variables
The following are all the local variables that get set implicitly, excluding "backward compatibility" temporaries that start with 'l'.
Not all of these are meaningful.
I'm not sure the best way to put these in the page:
magic-stmt.c:1422:"@target" magic-stmt.c:1427:"@caster" magic-stmt.c:1429:"@caster_name$" pc.c:1477:"@slotId" pc.c:1479:"@itemId" pc.c:1503:"@slotId" pc.c:1505:"@itemId" pc.c:1568:"@slotId" pc.c:1570:"@itemId" pc.c:1580:"@slotId" pc.c:1582:"@itemId" pc.c:1603:"@slotId" pc.c:1605:"@itemId" pc.c:1630:"@slotId" pc.c:1632:"@itemId" pc.c:6104:"@killerrid" pc.c:6106:"@victimrid" pc.c:6108:"@victimlvl" script.c:2119:"@menu" script.c:5751:"@agit_flag" script.c:5753:"@agit_flag" script.c:6524:"@inventorylist_id" script.c:6526:"@inventorylist_amount" script.c:6528:"@inventorylist_equip" script.c:6530:"@inventorylist_refine" script.c:6532:"@inventorylist_identify" script.c:6534:"@inventorylist_attribute" script.c:6536:"@inventorylist_card1" script.c:6538:"@inventorylist_card2" script.c:6540:"@inventorylist_card3" script.c:6542:"@inventorylist_card4" script.c:6547:"@inventorylist_count" script.c:6561:"@skilllist_id" script.c:6563:"@skilllist_lv" script.c:6565:"@skilllist_flag" script.c:6570:"@skilllist_count" script.c:6590:"@skilllist_id" script.c:6592:"@skilllist_lv" script.c:6594:"@skilllist_flag" script.c:6596:"@skilllist_name$" script.c:6601:"@skilllist_count" script.c:6623:"@skilllist_id" script.c:6625:"@skilllist_lv" script.c:6627:"@skilllist_flag" script.c:6629:"@skilllist_name$" script.c:6634:"@skilllist_count" script.c:6653:"@skilllist_id" script.c:6655:"@skilllist_lv" script.c:6657:"@skilllist_flag" script.c:6659:"@skilllist_name$" script.c:6664:"@skilllist_count"
I'm also not sure whether the ones used in callbacks (from magic-stmt.c and pc.c) are kept or automatically cleared after use.