Thread: Breath Weapons
View Single Post
Old 09-21-2003, 02:23 PM   #5 (permalink)
TheOutkastDev
Forum Expert
 
TheOutkastDev's Avatar
 
Join Date: Sep 2002
Location: Houston, Texas
Age: 22
Posts: 3,933
Default

You have to override the OnThink() method. Check if the npc's target is null and if not, call the Target.Invoke( .. ) method, and if it is, cast the firebreathe spell.
TheOutkastDev is offline   Reply With Quote