summaryrefslogtreecommitdiff
path: root/src/emap/script.c
AgeCommit message (Collapse)AuthorFilesLines
2015-09-28Add support for team id for battleground players.Andrei Karas1-0/+20
New script function: setbgteam bgid, num It set for 'bgid' team id to 'num'.
2015-09-28Allow get/set npc stand state by variable '.stand'.Andrei Karas1-0/+13
2015-09-28Allow get/set npc sit state by variable '.sit'.Andrei Karas1-1/+13
2015-09-27Allow get npc chat id by variable '.chat'.Andrei Karas1-0/+12
2015-09-27Allow get extended npc name by variable '.extname$'.Andrei Karas1-0/+12
2015-09-27Allow get/set npc name by variable '.name$'.Andrei Karas1-0/+16
2015-09-27Allow get npc map by reading variable '.map$'.Andrei Karas1-0/+13
2015-09-27Hook set/get npc string variables.Andrei Karas1-0/+9
2015-09-27Allow get/set npc speed by variable '.speed'.Andrei Karas1-0/+15
2015-09-27Allow get/set npc class by variable '.class'.Andrei Karas1-0/+19
2015-09-27Allow read npc position by .x and .y variables.Andrei Karas1-0/+22
2015-09-27Allow get/set npc direction by variable '.dir'.Andrei Karas1-0/+19
2015-09-27Allow setnpcsex works only with two parameters.Andrei Karas1-20/+0
2015-09-27Allow get/set npc distance by using variable '.distance'.Andrei Karas1-0/+12
2015-09-27Allow set/get npc sex by working with variable '.sex'.Andrei Karas1-0/+12
2015-09-27Add .lang variable to npc for storing language.Andrei Karas1-0/+39
Also add hooks to set/get vars.
2015-09-25Add script commands npcsit and npcstand.Andrei Karas1-0/+92
New script commands: npcsit [npcid]; npcstand [npcid];
2015-09-18Add script function for check is parameter string or not.Andrei Karas1-0/+15
New script function: isstr Example: isstr(10) - will return 0 isstr("test") - will return 1
2015-08-22Add script command successrefindex for success item refine by index.Andrei Karas1-0/+51
New script command: successrefindex index, num; index - inventory index num - how many levels to up. Example: successrefindex .@index, 3;
2015-08-22Add script function downrefindex for downgrade refine level.Andrei Karas1-0/+26
New script function: downrefindex index, number index - inventory index number - number of levels to downgrade. Example: downrefindex .@index, 1;
2015-08-21Add script function failedrefindex and some macro.Andrei Karas1-0/+17
New function: failedrefindex index index - inventory item index Example: failedrefindex .@itemid;
2015-08-21Add script functions requestItemIndex and requestItemsIndex.Andrei Karas1-21/+136
This functions request from player inventory indexes for items. Example: requestItemIndex @item; requestItemsIndex @item$, num;
2015-08-16Fix compilation after HPM update in server.Andrei Karas1-0/+2
2015-07-04Rename login/char/map dirs to elogin/echar/emap for avoid conflicts with ↵Andrei Karas1-0/+1148
hercules.