NextBot/BecomeRagdoll

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Update released)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=BecomeRagdoll
+
|Description=Become a ragdoll and remove the entity.
|Parent=NextBot
+
|Realm=Server
|Description=Become a ragdoll - (also removes the entity)
+
|Realm=
+
 
|IsClass=Yes
 
|IsClass=Yes
 
|File_Name=src/garrysmod/Objects/lua_nextbot.cpp
 
|File_Name=src/garrysmod/Objects/lua_nextbot.cpp
Line 9: Line 7:
 
}}
 
}}
 
{{Arg
 
{{Arg
|type=damageinfo
+
|type=CTakeDamageInfo
 
|name=info
 
|name=info
|desc=damage info passed from an onkilled event
+
|desc=Damage info passed from an onkilled event
 +
}}
 +
{{Ret
 +
|type=Entity
 +
|desc=The created ragdoll, if any.
 
}}
 
}}

Latest revision as of 01:53, 2 May 2019

 NextBot:BecomeRagdoll( )

Description

Become a ragdoll and remove the entity.

Arguments

CTakeDamageInfo info

Damage info passed from an onkilled event

Returns

Entity

The created ragdoll, if any.
Personal tools
Navigation