Cast

Character casts a spell. If a target is specified, the caster faces the target first. There are two different animations for casting spell with or without a target. You can specify the projectile color if a target is specified.

Arguments
Argument Character Name
Type Character
Default REQUIRED
Description Name of the caster
Argument Character Name
Type Character
Default null
Description Name of the target
Argument Projectile Color
Type red, blue, or purple
Default red
Description Color of the projectile to create

Examples

Cast(Tom)

Cast(Tom, Will)

Cast(Tom, Will, blue)


See Also