This shows you the differences between two versions of the page.
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); |