View Single Post
  #3  
Old 06-01-2014, 07:14 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Code:
// select target
 if // Bind Sight line of spells
 (
  spell_id == 500 || // bind sight
  spell_id == 407  // cast sight
 )
 {
  action->target = GetID();
 }
 else
 {
  action->target = spelltar->GetID();
 }
this was his issue in the source... the spell ID he was using had some source code associated with it... if anyone else runs into this issue when making all new spell :p

advice for others... CTRL + F in notepad ++ ... Find All in Files... (usually just look in a single folder at once otherwise it takes too long)

I asked him the ID of the spell.. I searched for it.. and found this tidbit of code in a few seconds
Reply With Quote