| 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: |
| Error message when setting Room Visibility U3D2.1 | |
|---|---|
| Tweet Topic Started: Mar 22 2009, 04:20 PM (225 Views) | |
| Jerreldulay | Mar 22 2009, 04:20 PM Post #1 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
Hi there guys. I was pretty sure I was doing this correctly since there really is not much to mess up, but I'm receiving a runtime error "error in code at line 7: return external call(global.u3d_set_room_visibility ... ... unknown variable number" etc. I've used the code SetRoomVisibility(1,true). If that's something wrong, then shoot me. I am using the U3D2.1 gex for GM7. Maybe this problem has already been addressed and I apologize if I've double posted. Thanks in advance. |
![]() |
|
| Dr. Best | Mar 22 2009, 04:39 PM Post #2 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
SetRoomVisibility(...) has to be called by the camera for which you want to change the visibility. You can use the with-statement for this conveniently. |
![]() |
|
| Jerreldulay | Mar 22 2009, 04:48 PM Post #3 |
|
Advanced Member
![]() ![]() ![]() ![]() ![]()
|
Hahaha, I feel pretty silly. Thanks a lot for that. You completely rock, and I appreciate the massive amount of work put into U3D for GM.
Edited by Jerreldulay, Mar 22 2009, 04:49 PM.
|
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)



4:40 PM Jul 11