Its an artform and not the C++/C#/WhateverScript knowledge.
All you got really is line traces, overlaps, ticks, timers, sets and gets etc.
Now you gota summon a dragon, ride on it back and battle a boss. You just gota all the learn tricks to achieve this.