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
HAI GUYS!
SLAMnesia Offline
Member

Posts: 99
Threads: 39
Joined: May 2011
Reputation: 0
#11
RE: HAI GUYS!

Oh god, im trying to incorporate your script into mine and its difficult. I'll get back to you in 30 or so if I can't figure it out
OK I did my best in incorporating and I think it might be you at fault :\

I got an error:
main (111, 36): ERR :'_crankSignature' is not declared
main (113, 77): ERR :'_doorName' is not declared

these lines of code are (lines 105-117)
//If we have only one crank left, then that crank needs to be attached to the door.
   int crankCount = GetLocalVarInt("CrankCount");
   if(GetLocalVarInt("CranksDone") == crankCount-1)
    { //Find the crank that isn't attached yet so we can attach it.
      for(int i=1; i<=crankCount; i++)
       {
        if(GetLocalVarInt("state_"+_crankSignature+i) != 1)
         { //Found it? Attach it! Don't need to loop further now.
             InteractConnectPropWithMoveObject("MoveDoor",_crankSignature+i,_doorName,true,false,1);
          i=crankCount;
         }
       }
    }
(This post was last modified: 06-08-2011, 01:11 AM by SLAMnesia.)
06-08-2011, 12:48 AM
Find


Messages In This Thread
HAI GUYS! - by SLAMnesia - 06-07-2011, 04:16 AM
RE: HAI GUYS! - by DannieWest - 06-07-2011, 03:10 PM
RE: HAI GUYS! - by ferryadams10 - 06-07-2011, 03:27 PM
RE: HAI GUYS! - by SLAMnesia - 06-07-2011, 04:18 PM
RE: HAI GUYS! - by Apjjm - 06-07-2011, 05:31 PM
RE: HAI GUYS! - by SLAMnesia - 06-07-2011, 05:43 PM
RE: HAI GUYS! - by palistov - 06-07-2011, 09:21 PM
RE: HAI GUYS! - by Apjjm - 06-07-2011, 10:35 PM
RE: HAI GUYS! - by Acies - 06-07-2011, 10:40 PM
RE: HAI GUYS! - by palistov - 06-07-2011, 11:07 PM
RE: HAI GUYS! - by SLAMnesia - 06-08-2011, 12:48 AM
RE: HAI GUYS! - by Apjjm - 06-08-2011, 02:37 AM
RE: HAI GUYS! - by SLAMnesia - 06-08-2011, 02:58 AM



Users browsing this thread: 1 Guest(s)