0x0000

From SimsWiki
Revision as of 11:55, 14 August 2006 by Jaxad0127 (Talk | contribs)

Jump to: navigation, search

Simplest primitive of any kind there is.

Overview

It takes it's input from the calling bhav's parameters, choosable using the first two op-code bytes. Use of this primitive can cause the calling thread to sleep if it's input is greater than 0. Every number equals two sim seconds. So, if it recieves 0x1E (30), it will sleep one sim minute.

Use

This primitive should not be called directly, unless you know what you are doing. It uses the calling bhav's parameters for it's input, so it can be unpredictable. Its better to call one of the following globals:

  • Idle (0x0180)
  • Idle - Minutes (0x016F)
  • Idle - Hours (0x016E)

See also

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox