preloadCamera – Talk
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This example is confusing to me. Why would you spawn with a waitUntil?? [[user:doolittle|doolittle]] | This example is confusing to me. Why would you spawn with a waitUntil?? [[user:doolittle|doolittle]] | ||
spawn in this case has nothing to do with respawning. | spawn in this case has nothing to do with respawning. | ||
Line 10: | Line 8: | ||
[[User:Planck|Planck]] 00:05, 22 May 2007 (CEST) | [[User:Planck|Planck]] 00:05, 22 May 2007 (CEST) | ||
The example merely means to waituntil preloadcamera returns true. [[User:Hoz|hoz]] | |||
Right... but the waitUntil is pointless. That's all I mean. --[[User:Doolittle|Doolittle]] 01:23, 22 May 2007 (CEST) | Right... but the waitUntil is pointless. That's all I mean. --[[User:Doolittle|Doolittle]] 01:23, 22 May 2007 (CEST) | ||
:At best, Spawn is redundant. For waituntil to work, you need to already be in a 'spawned' (sleepable) script. | |||
:Properly typechecked it would probably be a syntax error. | |||
:At worst, it will run the preloadcommand after (if at all) it has proceeded with whatever code is below the waituntil. | |||
:--[[User:MaHuJa|MaHuJa]] 16:57, 28 June 2007 (CEST) |
Revision as of 15:57, 28 June 2007
This example is confusing to me. Why would you spawn with a waitUntil?? doolittle
spawn in this case has nothing to do with respawning. It merely means to start a new script, check the spawn command in the comref.
Edit: Unless I misunderstood your question, in which case.....sorry.
Planck 00:05, 22 May 2007 (CEST)
The example merely means to waituntil preloadcamera returns true. hoz
Right... but the waitUntil is pointless. That's all I mean. --Doolittle 01:23, 22 May 2007 (CEST)
- At best, Spawn is redundant. For waituntil to work, you need to already be in a 'spawned' (sleepable) script.
- Properly typechecked it would probably be a syntax error.
- At worst, it will run the preloadcommand after (if at all) it has proceeded with whatever code is below the waituntil.
- --MaHuJa 16:57, 28 June 2007 (CEST)