Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: rkitting on July 15, 2008, 02:40:39 PM

Title: Running scripts and performance
Post by: rkitting on July 15, 2008, 02:40:39 PM
Hello,

we currently have 60 runnings scripts (r:2-3, w:1, p:59) in our 1st scene and would like to know if the passive scripts (p:59), which are mostly scripts for items and scene objects/entities/regions that are attached to them, affect the performance or not. If yes, what can we do to lower this? Also we use base.inc for almost every script we have, if that has anything to do with it.

I don't see any areas where AttachScript would be needed, because 95% of the scripts are attached to items or scene entities.
Title: Re: Running scripts and performance
Post by: odnorf on July 15, 2008, 03:12:19 PM
Not running scripts should not affect performance.