Phantasmal Site > Phantasmal API > API Listing > hook_social
API Function: hook_social
- Summary:
- notify the mobile that somebody has performed a social
- Defined In LPC Object:
- /usr/common/lib/mobile.c
- Prototype:
- void hook_social(object body, object target, string verb)
- Can Be Called By:
- System, Common, Game
- Description:
-
This function is called when a nearby mobile performs a social
action. The arguments are the body object of the actor, the body
of the target, and the verb for the social performed. If there
is no target, nil is passed for the target body.
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 ,
social ,
hook_whisper ,
hook_whisper_other
|