Forum

> > CS2D > Maps/Editor > How to end the delay loop
Forums overviewCS2D overview Maps/Editor overviewLog in to reply

English How to end the delay loop

2 replies
To the start Previous 1 Next To the start

old How to end the delay loop

CrazyPenguin
User Off Offline

Quote
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

old Re: How to end the delay loop

crazy junkman Wolfgang
User Off Offline

Quote
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

old Re: How to end the delay loop

Rainoth
Moderator Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to reply Maps/Editor overviewCS2D overviewForums overview