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
Script Help Script won't work
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Script won't work

I'm not sure if its of any significance, but when you use the "for" loop, the last part is supposed to be "++i", not i++.

For the graveyard part, try adding "SetLocalVarInt("Var1", 0);" to void OnStart()

For the lever part, you're setting the lever stuck state twice per function, each time a different value. I'm not sure about using the castle portcullis with a lever either; I've never seen that application, I've only seen it used with a wheel, perhaps that is a possible issue?

I rate it 3 memes.
07-29-2012, 02:32 PM
Find


Messages In This Thread
Script won't work - by i3670 - 07-29-2012, 02:05 PM
RE: Script won't work - by Adny - 07-29-2012, 02:32 PM
RE: Script won't work - by i3670 - 07-29-2012, 02:42 PM
RE: Script won't work - by Adny - 07-29-2012, 02:45 PM
RE: Script won't work - by i3670 - 07-29-2012, 06:07 PM



Users browsing this thread: 1 Guest(s)