User Tools

Site Tools


scriptlib:betatestwolf

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
scriptlib:betatestwolf [2015/05/16 15:58]
emerald iceee:development:betatestwolf renamed to scriptlib:betatestwolf (Because)
scriptlib:betatestwolf [2015/08/15 11:13] (current)
emerald
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.emote(cid,​ ANIMATION);​ +        ​inst.queue(function() { 
-        inst.creatureChat(cid, "​s/",​ phrases[randmodrng(0,​ phrases.len())]);​+            ​inst.emote(cid,​ ANIMATION);​ 
 +            inst.creature_chat(cid, "​s/",​ phrases[randmodrng(0,​ phrases.len())]); 
 +        }, 1000);
     }     }
     inst.queue(say_something,​ 10000);     inst.queue(say_something,​ 10000);
Line 26: Line 28:
  
 inst.queue(say_something,​ 1000); inst.queue(say_something,​ 1000);
 +
 </​code>​ </​code>​
scriptlib/betatestwolf.1431788323.txt.gz · Last modified: 2015/05/16 15:58 by emerald