Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Player vs. Player

Reply
 
LinkBack Thread Tools
Old 05/11/07, 5:16 PM   #26
janodandre
Glass Joe
 
Human Mage
 
Terenas (EU)
Here is Celandro version: http://www.1x4x9.info/posted/ArenaMaster2.zip

As soon as you enter combat in arena it displays a message "you cant raid target enemy players", you have a few seconds at the start to do it.

Offline
Reply With Quote
Old 05/11/07, 5:38 PM   #27
 Shadowed
Soda Popinski
 
Tauren Druid
 
Mal'Ganis
As in, you have a few seconds at the start when you first zone in, or before you enter combat.

United States Offline
Reply With Quote
Old 05/11/07, 6:20 PM   #28
Celandro
Don Flamenco
 
Night Elf Warrior
 
Cenarius
to fix the message something like this should work:
if (InCombatLockdown() ~= nil)
return

Offline
Reply With Quote
Old 05/11/07, 6:23 PM   #29
 Shadowed
Soda Popinski
 
Tauren Druid
 
Mal'Ganis
You don't need the ~= nil part.

if( InCombatLockdown() ) then return end

United States Offline
Reply With Quote
Old 05/11/07, 7:03 PM   #30
Celandro
Don Flamenco
 
Night Elf Warrior
 
Cenarius
This is what happens when you are coding in java and try and theorycraft some lua code on your break at work..

Offline
Reply With Quote
Old 05/11/07, 7:10 PM   #31
 Shadowed
Soda Popinski
 
Tauren Druid
 
Mal'Ganis
It's worst trying to go from using "then" and "end" rather then { and } =(

United States Offline
Reply With Quote
Old 05/11/07, 7:21 PM   #32
Bakxs
Glass Joe
 
Gnome Mage
 
Staghelm
Originally Posted by Shadowed View Post
You don't need the ~= nil part.

if( InCombatLockdown() ) then return end
Where do you put that line? Would it be possible to just provide an updated version? hehe.

Thanks!

Offline
Reply With Quote
Old 05/11/07, 7:52 PM   #33
Celandro
Don Flamenco
 
Night Elf Warrior
 
Cenarius
function ArenaMaster:setIcon()
-- return if we are locked down
if( InCombatLockdown() ) then return end
-- return if there is already a mouseover set
...

Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Player vs. Player

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
UI question StormBolt Public Discussion 68 11/25/05 11:43 AM
question annr The Dung Heap 1 09/30/05 6:33 PM
Question About a Mod RaXoR Public Discussion 4 09/06/05 1:55 AM
BWL question Daigoro Public Discussion 39 08/12/05 9:21 AM
Just a question. Cynthesis Public Discussion 33 07/06/05 5:07 PM