Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > hook_emote

API Function: hook_emote

Summary:
notify the mobile that somebody has emoted

Defined In LPC Object:
/usr/common/lib/mobile.c

Prototype:
void hook_emote(object body, string message)

Can Be Called By:
System, Common, Game

Description:

This function is called when a nearby mobile emotes. The arguments are the body object of the actor and the string that was emoted.

You should access-protect your version of this and all other inherited functions, including upgraded() and destructed().

Return Value:

None.

Errors:
Usually none.

See Also:
hook_say , emote , hook_social , hook_whisper , hook_whisper_other