Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
When a boolean state is being used (e.g. show/hide, enable/disable), a value of zero always means "no" and non-zero value means "yes". Therefore, setting the visibility to zero means to *not* show it. If you want to force something to be always visible, you need to use a non-zero value (generally one). In the case of portals, they are always visible unless you specify otherwise, so you can simply comment out the entire if/then block to ensure the portal is always visible. As it stands, you are explicitly hiding the portal all the time. :-(
|
#19 |
|
|