A few clarification questions:
- When you say you want it to disappear every second, I imagine you also want it to reappear as well?
- In your example code you have both Prop and Props; which one(s) should be disappearing?
Unless I misunderstand the above, you probably don’t need a multidimensional array. Here’s some code that shows and hides a prop repeatedly:
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
blink_device := class(creative_device):
@editable
Prop : creative_prop = creative_prop{}
@editable
VisibleTime : float = 0.5
@editable
InvisibleTime : float = 0.5
OnBegin<override>()<suspends>:void=
loop:
Prop.Show()
Sleep(VisibleTime)
Prop.Hide()
Sleep(InvisibleTime)