First of all, it is never nessicary to add an Always + another event... Second of all, that event will fire all the time anyway since there always will be objects with a value lower than the number of objects (Unless there only is one objects ofcource)
Going a little off topic, but since we're discussing 'always', what is the use for 'never'. I genuinly cannot see where i would use it, because it stops an event running? Sorry if i'm being stupid .
As for NEVER, I think it's used to test events. If you have a bug in your game, and you don't know where it is, you can just keep shoving 'never' conditions into various events to stop them working. If the bug goes away, you know the error is being caused by that event.
It's better than deleting events, since you don't lose all your actions. Although personally, I just create a group, deactivate it, and shove the event inside that. I wish you could just tick a box next to event lines to disable them instead of bothering with 'never'.
Sorry about my earlier post Dines, you posted while I was typing my reply. It was actually aimed at DaVince.
And yer doing it wrong DaVince! There's no need for any fastloops, no need for always conditions in conjunction with other conditions, and using fastloops won't make it faster. To spread a value in all instances of an object, even new ones, just use:
...which is the bit I don't get, cos I don't see how it possibly could be faster
191 / 9999 * 7 + 191 * 7
DaVince This fool just HAD to have a custom rating
Registered 04/09/2004
Points 7998
7th November, 2006 at 16:08:36 -
Ever seen that demo with around 1000 stars being put on screen one by one with an "always" loop and a fast loop? The fast loop places them almost immediately where the always event takes around two seconds to do it. That's what I meant with it goes faster.
The reason for that is that Always is creating one star per frame, whereas Fastloop can do hundreds of stars per frame.
The difference with Spread Value is that it already fastloops within the Spread Value function. It'll do this if it's triggered from Always, a Fastloop, or even a single 'Start of Frame' condition.
You can test it by doing a 'Space key is pressed' condition and spreading a value with that. Even though the event triggers once, it'll ennumerate all objects.