RuneScript
From RuneWiki
Terminology
op = operable
ap = approachable
cam = camera
if = interface
inv = inventory
loc = "location", represents an object in the world e.g. a Tree
obj = "object", represents items
p_ = protected
stat = skill
oc = related to obj
Constants
^lootdrop_duration = 200
^dm_default = "Nothing interesting happens."
^max_32bit_int = 0x7FFFFFFFEngine Functions
The character . can precede npc_ function names, indicating it's targeting a secondary NPC.
The character * can follow queue function names, indicating a second set of arguments are being passed.
| Name |
|---|
| anim |
| buffer_full |
| buildappearance |
| cam_lookat |
| cam_moveto |
| cam_reset |
| clearbit |
| clearqueue |
| controller_coord |
| controller_del |
| controller_findexact |
| controller_queue |
| coord |
| displayname |
| enum_getoutputcount |
| facesquare |
| finduid |
| getqueue |
| healenergy |
| huntnext |
| if_close |
| if_setevents |
| inarea |
| inv_add |
| inv_del |
| inv_getobj |
| inv_getvar |
| inv_itemspace2 |
| inv_moveitem |
| inv_resendslot |
| inv_setslot |
| inv_setvar |
| inv_size |
| inv_total |
| inzone |
| last_comsubid |
| last_int |
| last_slot |
| last_useitem |
| last_useslot |
| last_verifyobj |
| loc_add |
| loc_angle |
| loc_anim |
| loc_category |
| loc_coord |
| loc_del |
| loc_find |
| loc_findallzone |
| loc_findnext |
| loc_param |
| loc_type |
| longqueue |
| map_clock |
| map_members |
| mes |
| mes_typed |
| movecoord |
| name |
| npc_add |
| npc_anim |
| npc_basestat |
| npc_category |
| npc_coord |
| npc_del |
| npc_delay |
| npc_facesquare |
| npc_findexact |
| npc_param |
| npc_queue |
| npc_range |
| npc_say |
| npc_sethunt |
| npc_sethuntmode |
| npc_setmode |
| npc_statheal |
| npc_type |
| obj_add |
| obj_add |
| objectverify |
| oc_category |
| oc_desc |
| oc_members |
| oc_name |
| oc_param |
| p_aprange |
| p_arrivdelay |
| p_delay |
| p_pausebutton |
| p_telejump |
| p_transmogrify |
| random |
| randominc |
| region_findbycoord |
| region_getcoord |
| runclientscript |
| scale |
| seqlength |
| setbit |
| softtimer |
| sound_area |
| sound_synth |
| split_init |
| split_pagecount |
| staffmodlevel |
| stat |
| stat_base |
| stat_heal |
| testbit |
| weakqueue |