scn StaticSpaceOnMoonTokenScriptFloat deathTimerRef rContainerBegin GameModeset rContainer to getContainerif rContainer.isActor if rContainer.getEquipped StaticTSCSpaceSuit == 0 && rContainer.getItemCount StaticSpaceOnMoonInsideToken == 0 if rContainer == playerRef ShowMessage StaticSpaceNoSuitMessage endIf set deathTimer to deathTimer + getSecondsPassed if deathTimer >= 2 if rContainer.getItemCount StaticSpaceOnMoonToken > 1 rContainer.removeItem StaticSpaceOnMoonToken 1 1 endIf if rContainer.isActor rContainer.killActor removeme endIf endIf else if deathTimer > 0 && rContainer.getDead == 0 set deathTimer to 0 endIf endIfendIfEnd
when ever the actor is killed my game closes
any one have any ideas?