mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-18 22:23:48 +00:00
fill in the validated variables
This commit is contained in:
parent
fa760fa746
commit
f633ef3a3d
184 changed files with 1359 additions and 1216 deletions
|
|
@ -79,13 +79,13 @@ void afxAreaDamageData::initPersistFields()
|
|||
"An arbitrary string which is passed as an argument to a spell's onDamage() script "
|
||||
"method. It is used to classify a type of damage such as 'melee', 'magical', or "
|
||||
"'fire'.");
|
||||
addField("damage", TypeF32, myOffset(amount),
|
||||
addFieldV("damage", TypeRangedF32, myOffset(amount), &CommonValidators::F32Range,
|
||||
"An amount of area damage to inflict on a target. Objects within half the radius "
|
||||
"receive full damage which then diminishes out to the full distance of the specified "
|
||||
"radius.");
|
||||
addField("radius", TypeF32, myOffset(radius),
|
||||
addFieldV("radius", TypeRangedF32, myOffset(radius), &CommonValidators::PositiveFloat,
|
||||
"Radius centered at the effect position in which damage will be applied.");
|
||||
addField("impulse", TypeF32, myOffset(impulse),
|
||||
addFieldV("impulse", TypeRangedF32, myOffset(impulse), &CommonValidators::F32Range,
|
||||
"Specifies an amount of force to apply to damaged objects. Objects within half the "
|
||||
"radius receive full impulse which then diminishes out to the full distance of the "
|
||||
"specified radius.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue