User Tools

Site Tools


scriptlib:betatestwolf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
scriptlib:betatestwolf [2015/05/16 15:55]
emerald created
scriptlib:betatestwolf [2015/05/16 15:58]
emerald iceee:development:betatestwolf renamed to scriptlib:betatestwolf (Because)
Line 19: Line 19:
     local cid = inst.cids(ACTOR_CDEFID)[0];​     local cid = inst.cids(ACTOR_CDEFID)[0];​
     if(randmodrng(0,​ 100) <= SPEAK_CHANCE) {     if(randmodrng(0,​ 100) <= SPEAK_CHANCE) {
-        ​inst.queue(function() { +        inst.emote(cid,​ ANIMATION);​ 
-            ​inst.emote(cid,​ ANIMATION);​ +        inst.creatureChat(cid,​ "​s/",​ phrases[randmodrng(0,​ phrases.len())]);​
-            inst.creatureChat(cid,​ "​s/",​ phrases[randmodrng(0,​ phrases.len())]); +
-        }, 1000);+
     }     }
     inst.queue(say_something,​ 10000);     inst.queue(say_something,​ 10000);
scriptlib/betatestwolf.txt · Last modified: 2015/08/15 11:13 by emerald