Difference between revisions of "0249"
Jump to navigation
Jump to search
m |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{OpCode | {{OpCode | ||
− | | | + | | games = {{Icon|t}} |
− | | description = | + | | command = MARK_MODEL_AS_NO_LONGER_NEEDED |
− | | | + | | description = Marks the model as unneeded |
− | + | | syntax1 = 0249: release_model [''int''] | |
+ | | syntax2 = Model.Destroy( [''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 = [[MARK_MODEL_AS_NO_LONGER_NEEDED]] | | native = [[MARK_MODEL_AS_NO_LONGER_NEEDED]] | ||
}} | }} | ||
− | |||
− | + | This opcode marks the model as unneeded, usually after it is requested through opcode [[0247]]. The reference to the model doesn't disappear immediately so it's possible, though not recommended, to spawn objects without requesting the model again after this opcode is used. | |
− | |||
− | [[ | + | == Example == |
+ | :''See [[009A#Example]], [[00A5#Example]], [[010E#Example]], [[01B2#Example]] | ||
+ | |||
+ | == Keywords == | ||
+ | release, destroy, unload, model |
Latest revision as of 06:47, 7 July 2017
MARK_MODEL_AS_NO_LONGER_NEEDED
- Description
- Marks the model as unneeded
- Syntax
- 0249: release_model [int]
- Model.Destroy( [int] )
- Parameter
- Native analog
- MARK_MODEL_AS_NO_LONGER_NEEDED
This opcode marks the model as unneeded, usually after it is requested through opcode 0247. The reference to the model doesn't disappear immediately so it's possible, though not recommended, to spawn objects without requesting the model again after this opcode is used.
Example
Keywords
release, destroy, unload, model