NAME
	remove_hook - generic info on removing hooks

SYNOPSIS
	varargs int remove_hook(string hook_name, object obj)

LOCATION
	/obj/hook.c and any object inheriting this.

RETURN VALUE
	1 on success, 0 on failure.

DESCRIPTION
	This function removes a registered hook named 'hook_name' in an object.
	If the argument 'obj' is given, the hook will be un-registrated in that
	object, else it will be un-registrated in the object that called
	remove_hook.

NOTE
	Objects residing in /open and /log cannot use hooks due to security
	reasons.

SEE ALSO
	add_hook, query_hook, all the files /doc/hooks/* , /obj/hook.c

Help topics available:
add_hook add_weight can_put_and_get clean_up drop
extra_look get heart_beat id init
init_arg is_armour is_money is_weapon long
query_auto_load query_hook query_long query_name query_prevent_move_from_statue
remove_hook reset set_long set_name set_short
short

[START|BACK ]




[ NannyMuds main page | FAQ | Contact us ]

You are guest number 101 since November 2019.
This file was last modified: June 2000.