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
How to set Oil to 0 on start
tonitoni1998 Offline
Member

Posts: 163
Threads: 54
Joined: Oct 2012
Reputation: 1
#3
RE: How to set Oil to 0 on start

(11-12-2012, 06:43 PM)andyrockin123 Wrote: The following function should do the trick. You can place it under void OnStart(). Remember it goes from 0-100, other values could possibly crash the game or cause complications:

void SetPlayerLampOil(float afOil);

Hope that helped
Thanks!

When you are looking for someone, to do the scripting for your Custom Story, ask me!
11-12-2012, 06:52 PM
Find


Messages In This Thread
How to set Oil to 0 on start - by tonitoni1998 - 11-12-2012, 06:38 PM
RE: How to set Oil to 0 on start - by Adny - 11-12-2012, 06:43 PM
RE: How to set Oil to 0 on start - by tonitoni1998 - 11-12-2012, 06:52 PM



Users browsing this thread: 1 Guest(s)