DrinkIt(object)

Makes a creature speak a string that signifies they drank alcohol.

void DrinkIt(
    object oTarget
);

Parameters

oTarget

The creature to speak a drinking message.


Description

Makes a creature speak a string that signifies they drank alcohol.



Remarks

This use to cause a visual effect, however it currently just makes oTarget speak a string.


Requirements

#include "nw_s3_alcohol"

Version

1.22

Example

// 1.24 source for this function
void DrinkIt(object oTarget)
{
   // AssignCommand(oTarget, ActionPlayAnimation(ANIMATION_FIREFORGET_DRINK));
   AssignCommand(oTarget,ActionSpeakStringByStrRef(10499));
}

See Also

categories: Miscellaneous Functions


 author: Tom Cassiotis