GTAG - Modding - Opcode Database - 06D8
Opcode Database
06D8
| Description | Creates a script handled train from a predefined type (the type dictates how long the train is and the varieties of carriages) and sets the direction for the train to head in. |
|---|---|
| Parameters (v2) | 1) Train type ID (Integer) (INT) 2) X Coord (Float) (FLOAT) 3) Y Coord (Float) (FLOAT) 4) Z Coord (Float) (FLOAT) 5) Boolean (1 or 0) (INT) 6) (Returned) Train handle (Integer) (INT) |
| Games | |
| Category | Creation, Train |
| Command Name (IV) | CREATE_MISSION_TRAIN |
| San Andreas | |
| sascm.ini | 06D8=6,create_mission_train %1d% at %2d% %3d% %4d% direction %5d% store_to %6d% |
| Example | 06D8: create_mission_train 13 at 2285.152 -1257.5 23.0 direction 1 store_to 36@ |
| Command Name | CREATE_MISSION_TRAIN |

