Author Topic: Multiple tag error?  (Read 306 times)

Legacy_The Great Thief

  • Newbie
  • *
  • Posts: 32
  • Karma: +0/-0
Multiple tag error?
« on: September 08, 2010, 08:41:32 pm »


               I have a bit of a weird problem. I'm trying to use heartbeats on spawned-in creatures. It's like this:

I have "Beneficial" creatures that cast spells on a light shaft, right? Blue light shaft for Beneficial (red for detrimental). You use a rune which is like a summoning stone, and you call the creature in. Now, I have this creature set to cast Healing Circle once every round, for 10 rounds then it dies. It was working fine for a while, until... the rage began.

I added another light-shaft, same tag, in a completely different map. If I drop the creature on the second map where the second light shaft is, the creature responds to it by casting the spells properly. But it completely ignores the first one now. These objects have the same exact tag.

Anyone have an idea on how I could make this work? ;x
               
               

               
            

Legacy_Fester Pot

  • Hero Member
  • *****
  • Posts: 1698
  • Karma: +0/-0
Multiple tag error?
« Reply #1 on: September 08, 2010, 08:55:52 pm »


               Without seeing the script, guessing is our next best thing.

Use GetNearestObjectByTag("TAG_HERE") instead of GetObjectByTag("TAG_HERE").

FP!
               
               

               


                     Modifié par Fester Pot, 08 septembre 2010 - 07:56 .
                     
                  


            

Legacy_The Great Thief

  • Newbie
  • *
  • Posts: 32
  • Karma: +0/-0
Multiple tag error?
« Reply #2 on: September 08, 2010, 08:57:28 pm »


               I'll try that. ;o Thanks.