Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Epyo

Im trying to script

Recommended Posts

I have a scripting problem, what is wrong here?

script 1 open 
{
	int cc;
	
	cc = thingcount (T_BARON, 56);
	
	if (cc == 0)
	{
	ACS_Execute (2, 0, 0, 0, 0);
	ACS_Terminate (1, 0);
	}
	Delay(const:35);
	Restart;
}



script 2 (void)  
{
	Radius_Quake (8, 70, 0, 20, 55);
        Floor_LowerByValue (54, 5, 8);
}

Share this post


Link to post

Dude, what in the FUCK?! Your code is multi-colored, and when I quoted it, nothing showed up. HUH?!

EDIT: Nevermind, you have [php] where [code] should be.

As for the scripting, perhaps you have the syntax wrong somewhere?

Share this post


Link to post
Black Void said:

Hmm... the number one most common mistake with scripting these days is that people forget, "include zcommon.acs" you did that, right?


Hmm shall i jump off a cliff now or later? Thanks I never would have noticed!

Share this post


Link to post

OMG Now it tells me I have an unknown string literal and it points at the n in zcommon.acs

Share this post


Link to post

how are you writing include zcommon.acs?
you are putting the # in front right?

#include "zcommon.acs"

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×