Jump to content

Script optimizations


pro5

Recommended Posts

I need to optimize a large script for better performance, but would like to make sure I understand correctly basic things about how engine handles script execution.

 

What testing I did suggests the following:

 

- Script triggers are evaluated top to bottom

- Evaluation stops after first false condition is met

- Script blocks like this:

IF
  False()
THEN
 RESPONSE #100
		// ... something
END

do take some time to evaluate (if there's a sufficient amount of them in a script).

 

Are the above points correct?

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...