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
SOLVED: Script based on the Orb Pillars not working...
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#7
RE: Script based on the Orb Pillars not working...

Change this:

PHP Code: (Select All)
if(pillarsKnocked 4) return; 

to something like this:

PHP Code: (Select All)
if(pillarsKnocked 4) {
    if(
pillarsKnocked == 1) {
        
//Code for when first falls.
    
}
    if(
pillarsKnocked == 2) {
        
//Code for when second falls.
    
}
    
//etc
    
return;


(This post was last modified: 05-01-2016, 05:07 PM by Mudbill.)
05-01-2016, 05:06 PM
Find


Messages In This Thread
RE: Script based on the Orb Pillars not working... - by Mudbill - 05-01-2016, 05:06 PM



Users browsing this thread: 2 Guest(s)