looping events

Hello,
I'm looking for a good way to have an event keep playing until a certain global is at a certain value. I have tried using a spell that is casted when the event is played, and it then launches the event in the remove spell link. However that isn't fast enough. Any ideas?

------------------
Thanks,
GrahamVH
graham@vhpublications.com
http://www.warcraftc...t/CGD/home.html

Code, or whatever you would like to call the events:

**conditional (check if global is whatever it is when it should stop playing, if it is that it stops, else nothing)

<whateveryouhaveinyoureventgoeshere>

call event (say this event is called "graham's kickass event", then you just call "graham's kickass event" and it will play this event again, I think...) **

This might or might not work (duh)

Good luck!

------------------
Life is a joke - death is testing your humour...

Quote

Originally posted by Ledorax:
**Code, or whatever you would like to call the events:

**conditional (check if global is whatever it is when it should stop playing, if it is that it stops, else nothing)

<whateveryouhaveinyoureventgoeshere>

call event (say this event is called "graham's kickass event", then you just call "graham's kickass event" and it will play this event again, I think...) **

This might or might not work (duh)

Good luck!

**

It won't work, an event can't call itself. neither can a series of events loop.

------------------
Thanks,
GrahamVH
graham@vhpublications.com
http://www.warcraftc...t/CGD/home.html

Well why dont you have 2 events with the same name calling each other?

------------------
Life is a joke - death is testing your humour...

Leddy: don't you mean two identical events with different names? 😛

I think that would work. 🙂

------------------
Cha0s
(url="http://"http://www.world-of-cha0s.hostrocket.com")The Homepage of Cha0s(/url)

Quote

Originally posted by GrahamVH:
It won't work, an event can't call itself. neither can a series of events loop.
(/B)

Using "Call Event" at the end of an event file (.cet) worked for me. You
just have to keep the number of loops low or you might run out of memory.