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...
39Games Offline
Junior Member

Posts: 48
Threads: 14
Joined: Jan 2013
Reputation: 0
#8
RE: Script based on the Orb Pillars not working...

(05-01-2016, 05:06 PM)Mudbill Wrote: 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;


Ok so I tried that and it worked for the first three worked and the 4th event didnt so I changed the first value to 5 and it works,
thanks mate!

05-02-2016, 01:42 PM
Find


Messages In This Thread
RE: Script based on the Orb Pillars not working... - by 39Games - 05-02-2016, 01:42 PM



Users browsing this thread: 1 Guest(s)