|
Re: Crash in main? What?
[Re: Redeemer]
#320533
04/22/10 14:23
04/22/10 14:23
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
Expert
|
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
wait(3) after level loading makes no sense. If a code really works after adding a wait(), there is likely something else wrong with the project. The only situation where you really need a wait is when you want to wait until some other function or an event is finished. It makes perfect sense. After calling level_load, you must wait a few frames before you create any objects, because it takes a few cycles to finish loading the level. Read my post; that's what I said, but aparently in A7 this is no longer an issue, even the manual doesnt say anything about it anymore... Here's the proof; http://manual.3dgamestudio.net/beta.htm"The level_load function is now executed directly and undelayed, thus a wait() after level loading is not required anymore."
Last edited by Helghast; 04/22/10 14:25.
|
|
|
Re: Crash in main? What?
[Re: Petra]
#320540
04/22/10 14:55
04/22/10 14:55
|
Joined: Aug 2007
Posts: 1,922 Schweiz
Widi
Serious User
|
Serious User
Joined: Aug 2007
Posts: 1,922
Schweiz
|
But this is only a *hmp, don`t need more than one frame. If you use a bigger *.wmb, then you have to wait.
You test it yourself? I already do it and it is how i say... Trust me.
EDIT: And i use the newest version.
Last edited by Widi; 04/22/10 15:00.
|
|
|
Re: Crash in main? What?
[Re: Redeemer]
#320544
04/22/10 15:13
04/22/10 15:13
|
Joined: Apr 2008
Posts: 594 Austria
Petra
Support
|
Support
Joined: Apr 2008
Posts: 594
Austria
|
But this is only a *hmp, don`t need more than one frame. If you use a bigger *.wmb, then you have to wait. I also use WMBs and never need any wait. Look in the tutorial, there are also many WMB levels. Besides, when you say you need a wait and the manual said you don't, then obviously either you or the manual is wrong. Maybe you should contact Conitec to fight that out.
|
|
|
Re: Crash in main? What?
[Re: Petra]
#320547
04/22/10 15:21
04/22/10 15:21
|
Joined: Aug 2007
Posts: 1,922 Schweiz
Widi
Serious User
|
Serious User
Joined: Aug 2007
Posts: 1,922
Schweiz
|
OK, you don`t will go to test it...
-- end --
Last edited by Widi; 04/22/10 15:23.
|
|
|
|