FutureProg functions

removehook

Built-Incomputer function, computer program, standard futureprog

Overload 1

removehook overload 1

Boolean removehook(Perceivable target, Number hookId)
Available in
  • computer function
  • computer program
  • standard futureprog
Removes a named or numbered event hook from a perceivable target. Returns false if the target, hook argument, hook lookup, or perceivable conversion fails; otherwise returns the result of the target's hook removal.
ParameterTypeDescription
target Perceivable The target character, item, location, or perceivable for the operation.
hookId Number The ID of the hook to remove.

Overload 2

removehook overload 2

Boolean removehook(Perceivable target, Text hookName)
Available in
  • computer function
  • computer program
  • standard futureprog
Removes a named or numbered event hook from a perceivable target. Returns false if the target, hook argument, hook lookup, or perceivable conversion fails; otherwise returns the result of the target's hook removal.
ParameterTypeDescription
target Perceivable The target character, item, location, or perceivable for the operation.
hookName Text The name of the hook to remove.