Jump to content

Solved: How to set a script so if a global value is <= ....


Kenneth Nyström
 Share

Recommended Posts

Question 1:
How to set a script so if a global value is <= an object "always"  stays hidden.
(been fiddling around with various alternatives (gettng clearly better as I can debunk to a certian level now)

Having it difficult to identify what keywords makes an object "remain" toggled hidden or shown if I map/area swap and then later returns to the same (hub) map ...

I suspect it is done with an global value 
:
Say:

Deactive = nil

.....

later/another "trigger script" changes the value when "triggered"
........
Deactivate = 1
.....
In the Object in question (i want to hide/show) and its script
is where it gets tricky for me.
.....
How to formulate the script so it turns "hidden" on for the object.

when  a value is <=  (equal to or bigger).

....

there is a few thoughts about the above but I suspect its better i get a push in the right direction then speculate to much at this stage in my learning. (Last day I have made (for me good progress) want to keep that "flow going for just a bit longer
Thank You for help in advance.

Edited by Kenneth Nyström
I found out how Tables works and used that...
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...