DrinkIt
From NWN Lexicon
Contents |
[edit] DrinkIt(object)
Makes a creature speak a string that signifies they drank alcohol.
[edit] Parameters
oTarget
The creature to speak a drinking message.
[edit] Description
Makes a creature speak a string that signifies they drank alcohol.
[edit] Remarks
This use to cause a visual effect, however it currently just makes oTarget speak a string.
[edit] Requirements
#include " nw_s3_alcohol "
[edit] Version
1.22
[edit] Example
// 1.24 source for this function void DrinkIt(object oTarget) { // AssignCommand(oTarget, ActionPlayAnimation(ANIMATION_FIREFORGET_DRINK)); AssignCommand(oTarget,ActionSpeakStringByStrRef(10499)); }
[edit] See Also
author: Tom Cassiotis