Having a spot of bother. I'm trying to change the texture on a monitor, in the same way as 895's monitor flashes images. However, I can only get the texture to display for a brief second before it reverts back to normal. Even when the function repeats itself over and over, it only appears once and briefly. Anyone know why?
Code:
Code: Select all
ElseIf sc\inSight
If sc\playerState = 0 Then
sc\playerState = Rand(60000, 65000)
EndIf
If PlayerRoom\RoomTemplate\Name = "room000" Then
DebugLog("well that's a definite ewy")
If sc\inSight Then
DebugLog("dammit")
EntityTexture(sc\ScrOverlay, OldAiPics(0))
EndIf
EndIf
