Forum

> > CS2D > Maps/Editor > How to end the delay loop
ForenübersichtCS2D-Übersicht Maps/Editor-ÜbersichtEinloggen, um zu antworten

Englisch How to end the delay loop

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt How to end the delay loop

CrazyPenguin
User Off Offline

Zitieren
I have a artillery gun that fires all the time with 2 delay triggers looping each other (delay1 trigger delay2 and delay2 trigger delay1).

How do I end this with another trigger ? I created a breakable invisible wall on a tile where that artillery is so when its broken artillery image disappears but firing does not stop because those 2 delays still looping

alt Re: How to end the delay loop

crazy junkman Wolfgang
User Off Offline

Zitieren
You cant end it, but there is one trick you can make. Basicaly it would involve walls, some npc and explosion. I can make small test map to show you because its rather complicated to explain

alt Re: How to end the delay loop

Rainoth
Moderator Off Offline

Zitieren
You can code a lua that does that every X seconds/ms100/ms20 when state is true. When you want to break the cycle, you set the state to false.
Problem solved.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Maps/Editor-ÜbersichtCS2D-ÜbersichtForenübersicht