FutureProg functions

addhook

Hookscomputer function, computer program, standard futureprog

Overload 1

addhook overload 1

Boolean addhook(Perceivable perceivable, Number hookid)
Available in
  • computer function
  • computer program
  • standard futureprog
This function installs a 'hook' on a perceivable. See in game help for hooks for more info.
ParameterTypeDescription
perceivable Perceivable The perceivable for whom you want to install a hook
hookid Number The ID of the hook that you want to install.

Overload 2

addhook overload 2

Boolean addhook(Perceivable perceivable, Text hookname)
Available in
  • computer function
  • computer program
  • standard futureprog
This function installs a 'hook' on a perceivable. See in game help for hooks for more info.
ParameterTypeDescription
perceivable Perceivable The perceivable for whom you want to install a hook
hookname Text The name of the hook that you want to install.