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
Multiple "if" statement
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#1
Multiple "if" statement

I scoured the wiki but I still can't find the tutorial on "if" statements, so I'll just ask it here:

How do I get a script to activate only when multiple "if's" are satisfied? I want to trigger a function, for example, when a certain variable is at 1 and when two entities are inside certain script areas.

(This post was last modified: 03-30-2012, 12:08 AM by Damascus.)
03-29-2012, 07:03 AM
Find


Messages In This Thread
Multiple "if" statement - by Damascus - 03-29-2012, 07:03 AM
RE: Multiple "if" statement - by SilentStriker - 03-29-2012, 07:23 AM
RE: Multiple "if" statement - by Damascus - 03-30-2012, 12:08 AM
RE: Multiple "if" statement - by SilentStriker - 03-30-2012, 06:20 AM



Users browsing this thread: 1 Guest(s)