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