I have a problem with a disappearing platform.
I need the platform to only be present when a global variable equals a certain number.
For example, it's there when somethingvariable = 1, but not when somethingvariable = 2.
I need to do this without destroying it unless there's a way to destroy and create it in the exact same place/position with the appropriate variable value.
So far I've been switching the solid and visible behaviours but when the platform disappears (through using solid/visible disabled) the platform acts solid but invisible while the player is standing on it but the minute they step off it's no longer solid. They can also jump off it in this state.
Many thanks in advance.