Script editor's on actor action's are generally used for calling function's, general math, comparisons, etc.
One of the biggest problem you have though is that lowercase "x" is a predefined data structure within the actor struct you can't call int x=-260; because x already exist's!
- Code: Select all
int i, X=-260; //Acceptable
for(i=1;i<=4;i++)
{
CreateActor("enemy", "enemy", "(none)", "(none)", X, -360, false);
X+=30;
}