Hi
Im trying to create an array in game.cpp, or globals,
That will its key is a string and value an int.
To be specific:
M_eventtype* = new cwstring [gc.getnumeventvtriggertypes()[
Cwstring* m_eventtype
In the init and
For (inr i : < gc.getnumeventtriggertypes(); i++)
,}
Cwstring thename = gettriggerinfo((eventtriggettipe)i).gettype();
If Code code....
M_eventtype[thename] = (eventtriggertypes)i)
{
But i get an error on cwstring and char* something. Tried a few combinations.
Anyone got some directions on that for me?
Thanks you in advance.
Im trying to create an array in game.cpp, or globals,
That will its key is a string and value an int.
To be specific:
M_eventtype* = new cwstring [gc.getnumeventvtriggertypes()[
Cwstring* m_eventtype
In the init and
For (inr i : < gc.getnumeventtriggertypes(); i++)
,}
Cwstring thename = gettriggerinfo((eventtriggettipe)i).gettype();
If Code code....
M_eventtype[thename] = (eventtriggertypes)i)
{
But i get an error on cwstring and char* something. Tried a few combinations.
Anyone got some directions on that for me?
Thanks you in advance.