Rotate Ability Example
Block
"Rotate"
{
"Target" "TARGET"
"PitchYawRoll" "0 0 0" //x y z values
}
Example: Rotate the caster every interval
"OnSpellStart"
{
"ApplyModifier"
{
"ModifierName" "modifier_rotating"
"Target" "CASTER"
}
}
"Modifiers"
{
"modifier_rotating"
{
"ThinkInterval" "%interval"
"OnIntervalThink"
{
"Rotate"
{
"Target" "TARGET"
"PitchYawRoll" "%x %y %z"
}
}
}
}
Pitch Rotation, 15 every frame (0.03 interval)
Yaw Rotation, 15 every frame
Roll Rotation, 15 every frame