Offset Casting
![]()
This tutorial demonstrates how several spell glyphs can be used to set up a cast for a projectile that is not centred on the caster. This effectively allows casters to offset their spells, casting projectiles from any position they desire.
The following spell will cast two force probes, with a 1-second delay between casts. The results from both probes
will then be used to cast a firebolt that travels from the endpoint of the first probe towards the endpoint of the second probe.
Casts a force probe, waits 1 second, and then sets up the cast for a second force probe.
1) Sets up the cast for a force probe from the caster’s eye along their look vector.
2) Casts the force probe and saves the vector position of its endpoint.
3) Waits 1 second.
4) Sets up the cast for a second force probe from the caster’s eye along their look vector.
Casts a second probe, and then casts a firebolt from the first endpoint to the second endpoint, along the direction from the first endpoint to the second endpoint, achieved through subtraction.
5) Casts a second probe and saves the vector position of its endpoint.
6) Swaps, and duplicates the vector for the first endpoint. Then rotates the capsum so the vector for the second endpoint ends up below the head.
7) Subtracts the first endpoint from the second endpoint.
8) Pushes an integer and completes the firebolt cast.