Garry's Mod Wiki

Revision Difference

NextBot:BecomeRagdoll#515896

<function name="BecomeRagdoll" parent="NextBot" type="classfunc"> <description>Become a ragdoll and remove the entity.</description> <realm>Server</realm> <file_name>src/garrysmod/Objects/lua_nextbot.cpp</file_name>⤶ <file_line>111</file_line>⤶ <args> <arg name="info" type="CTakeDamageInfo">Damage info passed from an onkilled event</arg> </args> <rets> <ret name="" type="Entity">The created ragdoll, if any.</ret> </rets> </function>