Constants in ham_const.inc

List of constants

Ham return types.

Note

Return these from hooks to disable calling the target function.
Numbers match up with fakemeta's FMRES_* for clarity. They are
interchangable. 0 (or no return) is also interpretted as HAM_IGNORED.
List of virtual functions made available through the hamsandwich module.

Note

  • Not all functions will do as you expect on all mods. If a function does
    not do what you would believe it should DO NOT file a bug report, you
    will be ignored.
  • Passing invalid parameters has potential to crash the server, so be
    careful, and test carefully and adequately!
  • All functions take (and pass) a "this" index as the first param.
    This is the entity from which the function is being executed on.
  • All functions and forwards (eg: {Register,Execute}Ham[B]) require
    the mod to have the pev and base keys in addition to the function
    keys for the corresponding mod/operating system in gamedata
  • Some functions that return booleans may need to be logically ANDed
    to get the desired results because the mod will return the full integer
    value. E.g.: (ExecuteHam(Ham_TS_IsObjective, this) & 0x0000FFFF) != 0
Ham error types.
Constants for usage with [Get|Set]HamItemInfo