Garry's Mod Wiki

Garry's Mod Wiki

  CTakeDamageInfo:SetBaseDamage( number )

Description

Sets the initial damage, unmodified by the current skill level (game.GetSkillLevel). This is usually set automatically by the game when dealing damage.

This function will not modify the real damage that will be dealt (CTakeDamageInfo:GetDamage).

Use this only if you know what you are doing. Otherwise use CTakeDamageInfo:SetDamage.

Arguments

1 number
The base damage.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...