The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Preventing scripts from repeating
rybray Offline
Junior Member

Posts: 31
Threads: 9
Joined: Aug 2011
Reputation: 1
#1
Preventing scripts from repeating

I was thinking about a problem one might encounter when making an area that the player character walks through several times. Lets say that you have a function that pulls the players screen toward an entity and then makes some screen effects happen. What do you do if you only want these effects to happen the first time the character goes through the area?
08-17-2011, 04:16 PM
Find


Messages In This Thread
Preventing scripts from repeating - by rybray - 08-17-2011, 04:16 PM
RE: Preventing scripts from repeating - by Kyle - 08-17-2011, 04:30 PM
RE: Preventing scripts from repeating - by rybray - 08-17-2011, 05:46 PM
RE: Preventing scripts from repeating - by Kyle - 08-17-2011, 05:57 PM
RE: Preventing scripts from repeating - by rybray - 08-17-2011, 09:12 PM
RE: Preventing scripts from repeating - by Acies - 08-18-2011, 12:01 AM



Users browsing this thread: 1 Guest(s)