Jump to content

Home

Very weird problem with spawn script


JebusJM

Recommended Posts

Hey all,

 

I'm trying to make a spawn script, but it's always giving me an error for ",". It's probably obvious, but I must be overlooking something. Here it is:

 

void main()

{

CreateObject = ( OBJECT_TYPE_CREATURE, "belcameron" , Location(Vector(186.27,74.31,12.62), -1,0));

}

 

Thanks.

Link to comment
Share on other sites

Tried this and still getting the same error:

 

void main()

{

CreateObject = ( OBJECT_TYPE_CREATURE, "belcameron" , Location(Vector(186.27,74.31,12.62), -1.0));

}

 

The error:

 

Error: syntax error at ","

 

Thanks for the help so far.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...