Difference between revisions of "049E"
Jump to navigation
Jump to search
(Created page with "{{Icon|VC}} '''SET_OBJECT_PATH_SPEED''' <hr /> '''Description''' : Sets the speed of the script path '''Syntax''' : 049E: set_scripted_file [''path handle''] s...") |
m |
||
Line 1: | Line 1: | ||
− | {{Icon|VC}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} | |
− | + | | command = SET_OBJECT_PATH_SPEED | |
− | + | | description = Sets the speed of objects on the [[Script Path|script path]] | |
− | + | | syntax1 = 049E: set_scripted_file [''path handle''] speed_to [''flt''] | |
− | + | | p1t = [''path handle''] | |
− | + | | p1d = The [[049C|handle of the script path]] | |
− | + | | p2t = [''flt''] | |
− | + | | p2d = Speed in units per second | |
− | + | }} | |
− | |||
− | This opcode sets the speed in units per second of the script path. A negative value is acceptable, allowing objects on the path to move backwards. | + | This opcode sets the speed in units per second of objects on the script path. A negative value is acceptable, allowing objects on the path to move backwards. |
== Keywords == | == Keywords == | ||
set, object, script, scripted, path, file, speed | set, object, script, scripted, path, file, speed | ||
− | |||
− |
Latest revision as of 22:12, 4 September 2017
- Description
- Sets the speed of objects on the script path
- Syntax
- 049E: set_scripted_file [path handle] speed_to [flt]
- Parameter
- [path handle]
- The handle of the script path
- [flt]
- Speed in units per second
This opcode sets the speed in units per second of objects on the script path. A negative value is acceptable, allowing objects on the path to move backwards.
Keywords
set, object, script, scripted, path, file, speed