GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.waspscripts.com — Object Definition Object Definition¶World objects: everything that stands in the world rather than being carried. Their names and menu operations, the ground they cover, the models they are drawn from, and how the map should represent them. ObjectDefinition.Create¶function TObjectDefinition.Create(objID, revision: Integer; const data: TByteArray): TObjectDefinition; static; Decodes a world object: its name and menu operations, its footprint, its models, and how the map should draw it.
Fields left unset by the stream fall back to defaults, and two of those defaults are worked out afterwards rather than up front: an object counts as a wall or door if it has a wall shaped model or any menu operations, and it supports items if it can be interacted with at all. TObjectDefinitionArray.IndexOf¶function TObjectDefinitionArray.IndexOf(id: Integer): Integer; The position of Object definitions are stored one per id with no gaps, so an id is its own index; this exists to keep that assumption in one place. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |