character_ragdoll(name[, ragdoll_ms[, random_push_speed_mps[, nav_name[, cap_velocity]]]]) |
|
Parameters: |
name | | (string) name of the character |
ragdoll_ms | | (integer, optional) duration of the ragdoll, in ms (defaults to 1 hour) |
random_push_speed_mps | | (float, optional) speed to throw the character upon ragdolling, in m/s (defaults to -1, which means no impulse) |
nav_name | | (string, optional) name of the navpoint to throw the character towards; if unspecified, the character will be thrown in a random direction (defaults to nil) |
cap_velocity | | (bool, optional) TRUE if the final havok ragdoll velocity should be capped to the default maximum ragdoll speed (set to true unless you have a reason to break the max velocity) |
|
Returns: |
none |
|
Description: |
Make a character ragdoll. |
|
|
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |