Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help fatal error! help plz
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#2
RE: fatal error! help plz

void KNIGHT(string &in asParent, string &in asChild, int alState)

   SetEntityActive("KNIGHT_0", true);
   SetEntityActive("KNIGHT_1", true);
   SetEntityActive("KNIGHT_2", true);
   SetEntityActive("KNIGHT_3", true);

The problem is here, you need the { and } surrounding the code in the middle - look at all you're other functions in that script, they all have..

void NAME( stuff)
{
   //code
}

This error, main(11,4): ERR : Expected ',' or ','
The first number in brackets (number 11) refers to the line number that the problem occured on - you can count line by line down to 11, and see the problem.

void KNIGHT(string &in asParent, string &in asChild, int alState)
{
   SetEntityActive("KNIGHT_0", true);
   SetEntityActive("KNIGHT_1", true);
   SetEntityActive("KNIGHT_2", true);
   SetEntityActive("KNIGHT_3", true);
}

Also, you made another thread reporting problems you were having with this map - a bunch of us responded trying to help, but you didn't actually respond. It would be nice if you could respond to people trying to help, giving them the stuff they ask for and letting them know whether it helped or not.

(This post was last modified: 05-28-2013, 02:20 PM by Adrianis.)
05-28-2013, 02:18 PM
Find


Messages In This Thread
fatal error! help plz - by pewds..fan - 05-28-2013, 02:05 PM
RE: fatal error! help plz - by Adrianis - 05-28-2013, 02:18 PM
RE: fatal error! help plz - by pewds..fan - 05-28-2013, 02:26 PM
RE: fatal error! help plz - by Adrianis - 05-28-2013, 02:32 PM
RE: fatal error! help plz - by pewds..fan - 05-28-2013, 02:38 PM



Users browsing this thread: 1 Guest(s)