Fangames > Programming Questions

Avoidance Battles - Help plz!

<< < (2/2)

infern0man1:
I'm probably just missing something obvious, but, for sudnep's second method, what exactly would allow me to choose when I want each case to be executed? I want to say the case number itself, but I'm very unsure of that.

Sudnep:

--- Quote from: infern0man1 on June 15, 2015, 12:45:13 PM ---I'm probably just missing something obvious, but, for sudnep's second method, what exactly would allow me to choose when I want each case to be executed? I want to say the case number itself, but I'm very unsure of that.

--- End quote ---
case <frame you want it to play on>:
   this thing you want to happen
break;

I messed up the example thing because case 0  probably won't work since it increments STEPCOUNTER from 0 to 1 before it ever occurs.

infern0man1:
ah ok, thankya <3

verveplay:
I know i'm kinda late, but WetWookie made an amazing set of scripts allowing you to make shapes from projectiles and move them.
https://www.iwannacommunity.com/forum/index.php?topic=1704.0

Navigation

[0] Message Index

[*] Previous page

Go to full version