Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Help turning a mirror off and on. #10824
10/31/02 01:25
10/31/02 01:25
Joined: Mar 2002
Posts: 1,835
Minneapolis, Minnesota, USA
Nardulus Offline OP
Serious User
Nardulus  Offline OP
Serious User

Joined: Mar 2002
Posts: 1,835
Minneapolis, Minnesota, USA
I am using a mirrored floor, for a basketball game I am making.

I have gotten the mirror to work just fine.

I would like to toggle the mirror on and off inside of the program.

Depending on what my client needs to show for a demo.

I have tried -

mirror.visible = off;
mirror.portalvisible = off;

No luck...

Is there a way for me to turn off Mirror attributes and turn them back on inside of my running game.

Ken

Re: Help turning a mirror off and on. #10825
10/31/02 02:51
10/31/02 02:51
Joined: Mar 2002
Posts: 1,835
Minneapolis, Minnesota, USA
Nardulus Offline OP
Serious User
Nardulus  Offline OP
Serious User

Joined: Mar 2002
Posts: 1,835
Minneapolis, Minnesota, USA
I have a solution...

Floor Mirror On

camera.portal = mirror;

Floor Mirror OFF

camera.portal = NULL;

Question - is this dangerous leaving a camera portal set to NULL and then putting it back to the mirror view, as in a toggle.

Ken


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1