Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Easy FPS Editor v1.6

Simple way to create an old-school First Person Shooter! · By JessicoChan

Delete terminals after use?

A topic by Scruffy86 created Apr 04, 2024 Views: 140 Replies: 2
Viewing posts 1 to 3

is there a way to delete terminals after they have been pressed once? I have a computer panel that when activated by  a script, spawns some enemies. If the player keeps pressing it, it will keep spawning enemies each time. I'd like for this to only occur once. 

Use variables.

Developer

Variables are the way to go. Just set one to 1 after terminal is done with its work and put a condition that tells to skip the code if variable is set to 1.