by Matt » Sat Dec 10, 2016 12:30 pm
Test file:
Code: Select all
actor zomn:zombieman replaces zombieman{
states{
pain:
// POSS G 0 NoiseAlert(0,0)
POSS G 0{NoiseAlert(0,0);}
goto super::pain
}
}
As above, trying to run it gets this:
Code: Select all
Script error, "decorate.noisealert.txt:DECORATE" line 5:
Expected ',', got '0'.
but if I comment out the other line instead it works as expected (if you use a non-alerting weapon to put the zombieman in pain then then other monsters will be awakened targeting the zombieman instead of you)
Test file:[code]actor zomn:zombieman replaces zombieman{
states{
pain:
// POSS G 0 NoiseAlert(0,0)
POSS G 0{NoiseAlert(0,0);}
goto super::pain
}
}[/code]
As above, trying to run it gets this:[code]Script error, "decorate.noisealert.txt:DECORATE" line 5:
Expected ',', got '0'.[/code]but if I comment out the other line instead it works as expected (if you use a non-alerting weapon to put the zombieman in pain then then other monsters will be awakened targeting the zombieman instead of you)