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 start with little amount oil?
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#3
RE: How to start with little amount oil?

In your OnStart function, use SetPlayerLampOil.

Like this:
PHP Code: (Select All)
void OnStart()
{
    
SetPlayerLampOil(10);


That will start the player with 10 oil (/100).

In Ruins [WIP]
(This post was last modified: 02-26-2013, 01:42 AM by NaxEla.)
02-26-2013, 01:41 AM
Find


Messages In This Thread
How to start with little amount oil? - by jiersk - 02-26-2013, 01:34 AM
RE: How to start with little amount oil? - by NaxEla - 02-26-2013, 01:41 AM



Users browsing this thread: 1 Guest(s)