Jump to content

[SOLVED] Enum error bad constant


photo

Recommended Posts

Posted

Hi,

 

I want to do something with the enum, and apparently I can't and that give me some headache, may be someone can advice me. I want set an Enum with the value of previous enum. 

 

Like :

 

// Common
enum {

  A = 0,

  B,

  C,

  D,

  COMMON_COUNT,

};

 

// Addons common

enum {

  E = COMMON_COUNT,

  F,

  G,

  H,

}

 

How I can do similar thing with unigine script ??

Thanks

 

 

×
×
  • Create New...