Difference between revisions of "Talk:GameMode"

Jump to navigation Jump to search
4 bytes removed ,  17:24, 11 November 2006
m
indent edit
imported>GuidoBot
imported>GuidoBot
m (indent edit)
 
Line 8: Line 8:
Can anyone else confirm/deny this? Not sure what this could be used for yet but there could be some interesting side-effects to play with. I already experienced a few myself :) [[User:GuidoBot|GuidoBot]] 02:20, 10 November 2006 (EST)
Can anyone else confirm/deny this? Not sure what this could be used for yet but there could be some interesting side-effects to play with. I already experienced a few myself :) [[User:GuidoBot|GuidoBot]] 02:20, 10 November 2006 (EST)


::[[User:Entim|Entim]] 14:56, 10 November 2006 (EST): Object scripts with multiple GameMode blocks got processed line by line in my tests. Multiple GameMode blocks on multiple objects got processed in order. No sign of simultaneity. I wonder what side-effects you experienced.
:[[User:Entim|Entim]] 14:56, 10 November 2006 (EST): Object scripts with multiple GameMode blocks got processed line by line in my tests. Multiple GameMode blocks on multiple objects got processed in order. No sign of simultaneity. I wonder what side-effects you experienced.
:::K. So you are confirming that multiple GameMode blocks will run from a single script? Two GameMode blocks appeared to run for me but I couldn't say if it happened in the same frame or not. I doubted that lines from either block were run asynchronosly but I couldn't tell that either. The side-effects may or may not have been from having two GameMode's in one script running because I've been doing lots of stuff to try to force my player into un-readying his weapon. [[User:GuidoBot|GuidoBot]] 15:17, 11 November 2006 (EST)
::K. So you are confirming that multiple GameMode blocks will run from a single script? Two GameMode blocks appeared to run for me but I couldn't say if it happened in the same frame or not. I doubted that lines from either block were run asynchronosly but I couldn't tell that either. The side-effects may or may not have been from having two GameMode's in one script running because I've been doing lots of stuff to try to force my player into un-readying his weapon. [[User:GuidoBot|GuidoBot]] 15:17, 11 November 2006 (EST)
::::[[User:Entim|Entim]] 16:11, 11 November 2006 (EST): I have used three GameMode blocks, increased a counter in each, and logged which block made the current increase. Also logged the frame counter of a second object. I can confirm: multiple GameMode blocks will run in a single script, they will run one after the other, and they will run in the same frame.
:::[[User:Entim|Entim]] 16:11, 11 November 2006 (EST): I have used three GameMode blocks, increased a counter in each, and logged which block made the current increase. Also logged the frame counter of a second object. I can confirm: multiple GameMode blocks will run in a single script, they will run one after the other, and they will run in the same frame.
:::::Nice work. So it sounds like you can predict the effect then. Nice! It could make some scripts simpler to program this way. [[User:GuidoBot|GuidoBot]] 17:23, 11 November 2006 (EST)
::::Nice work. So it sounds like you can predict the effect then. Nice! It could make some scripts simpler to program this way. [[User:GuidoBot|GuidoBot]] 17:23, 11 November 2006 (EST)
Anonymous user

Navigation menu