Baslist: Difference between revisions

128 bytes added ,  2 years ago
m
ASDefine Tweak
m (Fix ASDefine section)
Tags: Mobile edit Mobile web edit
m (ASDefine Tweak)
Tags: Mobile edit Mobile web edit
Line 12: Line 12:


===ASDefines===
===ASDefines===
The ASDefines list tells the game all the animations an actor can use. Each ASDefine entry is essentially a redirect, allowing the game to play an animation by calling a simpler, shorter alias (For example, '''Brake''' runs the script '''Player_Link_Brake.bas'''). Like the '''AddReses''' list, these are in numerical order, going from '''ASDefine_0''' to '''ASDefine_1''', and so on. Each ASDefine object has a '''Name''' field, and a '''Filename''' field. The name field is the name by which eventflows, demos, and AIs will call the animation. The '''Filename''' field is the [[Bas]] file to be played (from '''Actor/AS'''), again without the file extension.
The ASDefines list tells the game all the animations an actor can use. Each ASDefine entry is essentially a redirect, allowing the game to play an animation by calling a simpler, shorter alias (For example, '''Brake''' runs the script '''Player_Link_Brake.bas'''). Like the '''AddReses''' list, these are in numerical order, going from '''ASDefine_0''' to '''ASDefine_1''', and so on. Each ASDefine object has a '''Name''' field, and a '''Filename''' field. The name field is the name by which eventflows, demos, and AIs will call the animation. The '''Filename''' field is the [[Bas]] file to be played (from '''Actor/AS'''), again without the file extension. If there is no ASDefine entry found, the game will try to play a bas script of the given filename, if it can be found.{{Check}}


===CFDefines===
===CFDefines===
autopatrol
55

edits