0 Members and 1 Guest are viewing this topic.
#include "zcommon.acs"int angarr[8] = {0,32,64,96,128,160,192,224};int achoice;achoice = angarr[random(0,7)];int thrarr[6] = {5,10,15,20,25,30}int tchoice;tchoice = thrarr[random(0,5)];script 1 open { thrustthing(achoice,tchoice,0,0); delay(1) }
...There is no semi colon after the last delay...
#include "zcommon.acs"script 1 open { thrustthing(random(0,359),random(5,30),0,0); delay(1); }
#include "zcommon.acs"int angarr[7] = {0,32,64,96,128,160,192,224}; // I can't remember if this is the right syntax for putting values directly into arrays howeverint thrarr[6] = {5,10,15,20,25,30};script 1 open { thrustthing(angarr[random(0,7)],thrarr[random(0,5)],0,0); delay(1) }