NextBot/BecomeRagdoll

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=BecomeRagdoll |Parent=NextBot |Description=Become a ragdoll - (also removes the entity) |Realm= |IsClass=Yes }} {{Arg |type=damageinfo |name=info |desc=...")
 
m (Update released)
 
(5 intermediate revisions by 3 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_Line=111
 
}}
 
}}
 
{{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
 
{{Ret
|type=number
+
|type=Entity
|desc=distance
+
|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