Garry's Mod Wiki

Revision Difference

NextBot:BodyMoveXY#515891

<function name="BodyMoveXY" parent="NextBot" type="classfunc"> <description> Should only be called in BodyUpdate. This sets the move_x and move_y pose parameters of the bot to fit how they're currently moving, sets the animation speed to suit the ground speed, and calls FrameAdvance. <bug issue="3420">This function might cause crashes with some activities.</bug> </description> <realm>Server</realm> <file_name>src/garrysmod/Objects/lua_nextbot.cpp</file_name>⤶ <file_line>177</file_line>⤶ </function>