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?
jiersk Offline
Member

Posts: 118
Threads: 12
Joined: Nov 2012
Reputation: 0
#4
RE: How to start with little amount oil?

(02-26-2013, 01:39 AM)Adny Wrote: void SetPlayerLampOil(float afOil);

100 being maximum, 0 being none.

Thanks for the quick response Big Grin

(02-26-2013, 01:41 AM)NaxEla Wrote: 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).

Thanks for the quick response Big Grin

Life is a joke made by someone with a bad sense of humor.
(This post was last modified: 02-26-2013, 01:45 AM by jiersk.)
02-26-2013, 01:45 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 jiersk - 02-26-2013, 01:45 AM



Users browsing this thread: 1 Guest(s)