Page 1 of 1

kill all enemys ?

PostPosted: 07 Aug 2019, 20:51
by Oliver_Buo
Hello everybody
Is it possible to set a level where the condition is that all opponents must be eliminated. Then the level ends automatically? is this something? Would be cool. :cool:

Re: kill all enemys ?

PostPosted: 25 Aug 2019, 14:53
by Oliver_Buo
or get all coins....

the level is automaticaly finish whne u get all coins ? is that possible to make a such level ? what would be the script for it ??

Re: kill all enemys ?

PostPosted: 25 Aug 2019, 16:46
by Tobbi
You'd have to increase a counter on collect of coins, then check if the number of coins collected equals the counter, then call Level_win or whatever the function is. Same for enemies, although that's a kill script you'd have to set.

Re: kill all enemys ?

PostPosted: 08 Sep 2019, 16:03
by Oliver_Buo
aha....can u make a Exampel who the script should looks like. for exampel for a level with 15 coins.
collect all coins = level is finish .....what Script to use for it ? - i have NO idea..... :?

thanks a lot.