I haven't a clue about code and scripting. I've tried to read through the docutorial a couple times, yet it all seems foreign and full of gibberish to me. I just want to be able to remove a sprite after a certain frame number. Here's what I got.
Dim nIdx
With ProjectObj.GamePlayer.PlayerSprite.rDef.rLayer
For nIdx = 0 to .SpriteCount - 1
If .Sprite(nIdx) Is .Sprite = "Guard1" Then
.RemoveSprite(nIdx)
End If
Next
End With
Can anyone send some info my way to how I could accomplish this correctly?