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.
Between the 1 and 0 you have a comma bot a dot
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.
I cant remember but i dont think you need the comma after the bracket of 3 numbers.
That didn't do the trick, but I randomly tried compiling it again and it worked. What a strange night I'm having...
Thanks again mate.