Author Topic: Could someone test this please?  (Read 830 times)

Offline Duality

  • Planewalker
  • *****
  • Posts: 147
Could someone test this please?
« on: March 06, 2006, 09:10:28 PM »
Edit: Never mind, teach me to try and figure out this when I should be sleeping. It doesn't work. And I can't delete this post.

I may have figured out how to check for nearby targets in area of effect spells (but probably not) but I'm not near my computer and I wont be near it for at least a few days.
If someone could test the code I would appreciate it.
I realize that if an enemy is standing on the other side of the mage it wont work, but that's for future though. I just want to know if this works.

if
   See(NearestEnemyOf(MySelf()))
Then
   Response #100
      SetTokenObject("centraltarget", NearestEnemyOf(Myself()))
End
If
   Range(SecondNearestEnemyOf(NearestEnemy("centralTarget")), 15)
Then
   response #100
      ReallyForceSpell("centraltarget", WIZARD_FIREBALL)
End


Thanks :)
« Last Edit: March 07, 2006, 12:01:21 PM by Duality »
"I'll try being nicer if you try being smarter."

"There is a certain freedom in being totally screwed. It means that nothing you do is going to make it any worse."

"Eagles may soar, but weasels don't get sucked into jet engines."

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: