Difference between revisions of "0248"
Jump to navigation
Jump to search
(correction) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{OpCode | |
− | + | | games = {{Icon|t}} | |
− | '' | + | | command = HAS_MODEL_LOADED |
− | ''' | + | | description = Checks if the model has been loaded |
− | '' | + | | syntax1 = 0248: model [''int''] available |
+ | | syntax2 = Model.Available( [''int''] ) | ||
+ | | p1t = [''int''] | ||
+ | | p1d = Valid model index as defined in the [[IDE]] file; also acceptable is model's [[DFF]] name with a hash character | ||
+ | | native = [[HAS_MODEL_LOADED]] | ||
+ | }} | ||
− | This opcode | + | This opcode returns true if the model has been loaded. A model can load in a number of ways, including using opcode [[0247]] or traveling to the location of a [[IPL|placed object]] that uses the model. The check can be avoided if opcode [[038B]] is used. |
− | ==Keywords== | + | == Keywords == |
has, check, model, loaded, available | has, check, model, loaded, available | ||
− | |||
− |
Latest revision as of 14:24, 16 December 2016
- Description
- Checks if the model has been loaded
- Syntax
- 0248: model [int] available
- Model.Available( [int] )
- Parameter
- Native analog
- HAS_MODEL_LOADED
This opcode returns true if the model has been loaded. A model can load in a number of ways, including using opcode 0247 or traveling to the location of a placed object that uses the model. The check can be avoided if opcode 038B is used.
Keywords
has, check, model, loaded, available