Phantasmal Site > Phantasmal API > API Listing > hook_whisper
API Function: hook_whisper
- Summary:
- notify the mobile that somebody has whispered them something
- Defined In LPC Object:
- /usr/common/lib/mobile.c
- Prototype:
- void hook_whisper(object body, string message)
- Can Be Called By:
- System, Common, Game
- Description:
-
This function is called when a nearby mobile whispers something
to this mobile. The arguments are the body object of the actor
and the message that was whispered.
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 ,
hook_emote ,
hook_social ,
whisper ,
hook_whisper_other
|