Difference between revisions of "CREATE MISSION TRAIN"
Jump to navigation
Jump to search
V-driver s4g (talk | contribs) |
|||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Native | |
− | + | |np=6 | |
− | + | |p1t=integer | |
− | + | |p1d=train type (example: 1 Brown Streak, 3 Frieght) | |
− | + | |p2t=float | |
− | + | |p2d=X position | |
− | X position | + | |p3t=float |
− | + | |p3d=Y position | |
− | + | |p4t=float | |
− | + | |p4d=Z position | |
− | + | |p5t=integer | |
− | + | |p5d=Train direction (boolean value: true1 or false0) | |
− | Y position | + | |p6t=Pointer |
− | + | |p6d=Variable to store train handle | |
− | + | |rd=Creates a Train at the nearest track at the given coordinates. Direction: Clockwise [bool = 1] or Anti-Clockwise [bool = 0]. Article last edited by X Dukinja on May 5 2025. | |
− | + | }} | |
− | + | {{stub}} | |
− | |||
− | Z position | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | Train direction ( | ||
− | |||
− | |||
− | Pointer | ||
− | |||
− | Variable to store train handle |
Latest revision as of 11:01, 5 May 2025
Number of parameters: 6 | ||
---|---|---|
Parameter # | Type | Description |
1. | integer | train type (example: 1 Brown Streak, 3 Frieght) |
2. | float | X position |
3. | float | Y position |
4. | float | Z position |
5. | integer | Train direction (boolean value: true1 or false0) |
6. | Pointer | Variable to store train handle |
Return value: | ||
Type | Description | |
None | Creates a Train at the nearest track at the given coordinates. Direction: Clockwise [bool = 1] or Anti-Clockwise [bool = 0]. Article last edited by X Dukinja on May 5 2025. |