|
|
| Line 1: |
Line 1: |
| // CREATE_OBJECT_NO_OFFSET
| |
| // 233 appels SCM
| |
|
| |
| PATTERNS SCM:
| |
| VAR = init_object #DTN_STADDOORA at float float float
| |
| VAR = init_object #DTN_STADDOORB at float float float
| |
| $int = init_object #DTHOTRING_A at float float float
| |
| VAR = init_object #CI_GATESCLOSED at float float float
| |
| VAR = init_object #CI_BACKGATECLOSE at float float float
| |
| $int = init_object #YT_MAIN_BODY at float float float
| |
| $int = init_object #YT_MAIN_BODYint at float float float
| |
| $int = init_object #YT_DOORSint at float float float
| |
|
| |
| PARAMS WIKI: Vec3 position
| |
|
| |
| EXEMPLES:
| |
| create_object_no_offset $Arena_door_1 = init_object #DTN_STADDOORA at -1109.615 1330.097 20.372
| |
| create_object_no_offset $Arena_door_2 = init_object #DTN_STADDOORB at -1109.615 1331.932 20.372
| |
| create_object_no_offset $6 = init_object #DTHOTRING_A at -1037.08 1340.2581 36.552
| |
|
| |
| TEMPLATE:
| |
| {{ScriptItem | | {{ScriptItem |
| |endpoint = client | | |endpoint = client |
| Line 25: |
Line 4: |
| |type = function | | |type = function |
| |name = natives.CREATE_OBJECT_NO_OFFSET | | |name = natives.CREATE_OBJECT_NO_OFFSET |
| |parameters = Vec3 position | | |parameters = int model, Vec3 position |
| |parameter1 = Vec3 position Description | | |parameter1 = int model Model identifier. |
| |usage = Create object no offset in Vice City. | | |parameter2 = Vec3 position Race position. |
| | |usage = spawns an object at exact coordinates without automatic ground placement |
| |return1 = void | | |return1 = void |
| |returnFail1 = void | | |returnFail1 = void |
| }} | | }} |