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 Wheel lever wont stick in positon once turned
serbusfish Offline
Member

Posts: 211
Threads: 75
Joined: Aug 2012
Reputation: 0
#3
RE: Wheel lever wont stick in positon once turned

(06-24-2016, 05:08 PM)Mudbill Wrote: The script is incorrectly formatted so I assume you're crashing the game?

Remember you cannot call a void block function from within another function (like inside your OnStart). Try this:

I added the {} to the OnStart part manually so that is why it look wrong, the actual script file is correct and the level works fine but the wheel wont become stuck or static.

EDIT: Well this is strange because now the script is working!

I have had this sort of thing happen before, for example a few times now I have put a custom sound in my CS folder and the game wont find it, but the next day after a PC restart it now does find it. Something to do with cache perhaps? I dont know, but my script now works so thank you anyway Smile

(This post was last modified: 06-25-2016, 08:17 AM by serbusfish.)
06-25-2016, 07:54 AM
Find


Messages In This Thread
RE: Wheel lever wont stick in positon once turned - by serbusfish - 06-25-2016, 07:54 AM



Users browsing this thread: 1 Guest(s)