kiralex2
19.03.2006, 22:31
class default_npc {}
class kiralex : default_npc
{
parameter:
float test_param = 0.0;
handler:
EventHandler NO_DESIRE()
{
test_param = 1.0;
}
}
NASC Print this error
=======================================
nasc.exe : NPC AI Script Compiler(0.03)
Copyright 2002 NC Soft Inc
any question mail to [email protected]
Patched by Kvoxi. C1-L2NPC compatible.
=======================================
ERROR(10) : expr = expr: l-value is required.
Fail to compile, total error count = 1
Wtf change test_param = 0 to 1:?:
GG Not Work
test_param = test_param + 1;
test_param++;
test_param = test_param2 //test_param2 = 1.0
class kiralex : default_npc
{
parameter:
float test_param = 0.0;
handler:
EventHandler NO_DESIRE()
{
test_param = 1.0;
}
}
NASC Print this error
=======================================
nasc.exe : NPC AI Script Compiler(0.03)
Copyright 2002 NC Soft Inc
any question mail to [email protected]
Patched by Kvoxi. C1-L2NPC compatible.
=======================================
ERROR(10) : expr = expr: l-value is required.
Fail to compile, total error count = 1
Wtf change test_param = 0 to 1:?:
GG Not Work
test_param = test_param + 1;
test_param++;
test_param = test_param2 //test_param2 = 1.0