E: 15:19:30 - chicken_eater_slain.nss - chicken_eater_slain.nss(15): Variable defined without type (while compiling var_constants_h.nss)
I don't know scripting at all so I do not know what this means. Here is the script resource that the error refers to:
#include "events_h"
#include "plt_kill_wolf"
#include "wrappers_h"
void main ()
{ event ev = GetCurrentEvent();
int nEventType = GetEventType(ev);
switch(nEventType)
{
case EVENT_TYPE_TEAM_DESTROYED:
{
if(GetEventInteger(ev,0) == 1)
{
WR_SetPlotFlag(PLT_WOLF_SLAIN, WOLF_SLAIN, TRUE);
}
break;
}
}
HandleEvent(ev, RESOURCE_SCRIPT_AREA_CORE);
}
Thanks for any help.





Retour en haut






