| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
| Switching ROOMS!; Here's the solution that works | |
|---|---|
| Topic Started: Nov 30 2007, 01:04 AM (2,402 Views) | |
| blackhawk | Jan 12 2009, 04:22 PM Post #31 |
![]()
Elite Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Okay.. that doesn't work either. Here's my code: obj_3dcontrol: (the shop room) CREATE:
room end:
---- Even this does not work. It works when i open the shop room the first time. When i leave it its okay. Then when i open it again, its a non-render and when i leave the room it hangs. Here is my game code: obj_control create event:
key press escape:
-- both the objects are NOT persistent. |
|
Omg you guys this is SO AWESOME Check this shit out. How the hell is THAT possible? | |
![]() |
|
| Dr. Best | Jan 13 2009, 09:17 PM Post #32 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I tried around with it and it works without any issues. As an example take this file I created for the test. Copy it into a folder with the Ultimate3D.dll. Press D to clean up, R to get to the other room and again R to get back to the Ultimate 3D room. Relevant events are the destroy event of the control object, the D key press event of the control object and the R key press event of the room_control object. Ensure that you are using Ultimate3D 2.1.1. |
![]() |
|
| blackhawk | Jan 13 2009, 10:33 PM Post #33 |
![]()
Elite Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Oooh, i've been so dumb. Sorry. You see the create event? if global.been3donce==1 then { SwitchView(); } that shouldn't be there since the view is being reset when the DLL is unloaded.. It works just great now. Thanks a lot! |
|
Omg you guys this is SO AWESOME Check this shit out. How the hell is THAT possible? | |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |






![]](http://209.85.48.18/static/1/pip_r.png)



9:30 PM Mar 12