Jump to content
  • 0

what's wrong with this script?


Question

Posted
anthell01,35,267,0	script	ant001	45,1,1, {
	if(anthell==1) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}
anthell02,171,169,0	script	ant001	45,1,2, {
	if(anthell==0) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}

thank you in advance.

2 answers to this question

Recommended Posts

Posted

 

anthell01,35,267,0	script	ant001	45,1,1, {
	if(anthell==1) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}
anthell02,171,169,0	script	ant001	45,1,2, {
	if(anthell==0) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}

thank you in advance.

Well first explain what exactly you want to happen and is this the full script?

 

problem solved. i shouldn't put a space between the last comma and the opening curly

Posted
anthell01,35,267,0	script	ant001	45,1,1, {
	if(anthell==1) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}
anthell02,171,169,0	script	ant001	45,1,2, {
	if(anthell==0) goto moc15;
	moc04:	warp "moc_fild04",213,327; break;
	moc15:	warp "moc_fild15",251,248; break;
}

thank you in advance.

Well first explain what exactly you want to happen and is this the full script?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...