Set chat callback?

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: set_chat_callback register1, STR

  • register1 = X coordinate of the radius.
  • register2 = Y coordinate of the radius.
  • register3 = Z coordinate of the radius.
  • register4 = Size of Radius.
  • register5 = # of Function to call.
  • STR = Phrase to check for in order to call a function

Use

Similar to an at_coords_call, it defines a space on the map to call a function if a certain phrase is said within the defined radius.