can you fix this code for zscript version 4.6.1 // worked properly /*for (int i = 0; i <…
Jump to turn (6)
- 1can you fix this code for zscript version 4.6.1 // worked properly /for (int i =
- 2line 141: Unexpected '@' Expecting ';' Script error, "ExtractionItems2.pk3.wad:k
- 3the errors are line 130: Cannot initialize non-scalar variable lline here line 1
- 4errors line 131: Cannot initialize non-scalar variable lline here line 132: Unkn
- 5errors line 143: Unexpected '@' Expecting ';' line 153: Unexpected '++' Expectin
- 6write me zscript 4.6.1 code to block exit lines in a map until a item is found
- User
can you fix this code for zscript version 4.6.1 // worked properly /for (int i = 0; i < Level.Lines.Size(); i++) { let lline = Level.Lines[i]; if (lline && (lline.special == 243 || lline.special == 244) && lline.activation & SPAC_Cross) { lline.flags |= Line.ML_BLOCKING; if (!(lline.activation & SPAC_Push)) lline.activation |= SPAC_Push; } }/
- Assistant