049C

From GTAMods Wiki
Revision as of 10:49, 25 April 2010 by Spaceeinstein (talk | contribs) (Created page with '{{OpCode | ini = 049C=3,%3d% %1h% %2d% | description = Creates a scripted path file | p1 = Scripted path file ID | p2 = Width | p3 …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{games}}}


Description
Creates a scripted path file
Syntax
{{{syntax1}}}
Parameter

This opcode defines the scripted file to be used by other related opcodes. The first parameter comes from the path file's number at the end of the file name, i.e. spath0.dat would be ID 0, spath1.dat would be ID 1, etc. The second parameter denotes how far from the path can the object be when traveling along the path. The larger the value, the more smooth the curve can be. Only one scripted path file was used by default but additional scripted paths can be created and used. Note that the parameters are rearranged.

Sanny Builder example:

049C: 0@ = scripted_path_file 0 width 5.0

Note

The above format is more commonly used. The actual format of this opcode is in order:
049C=3,%1d% %2h% %3d%
The format to use depends on which INI file you use.