tonitoni1998
Member
Posts: 163
Threads: 54
Joined: Oct 2012
Reputation:
1
|
How to set Oil to 0 on start
i always start with filled lantern how do i set it to 0 or whatever?
When you are looking for someone, to do the scripting for your Custom Story, ask me!
|
|
11-12-2012, 06:38 PM |
|
Adny
Posting Freak
Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation:
173
|
RE: How to set Oil to 0 on start
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
I rate it 3 memes.
|
|
11-12-2012, 06:43 PM |
|
tonitoni1998
Member
Posts: 163
Threads: 54
Joined: Oct 2012
Reputation:
1
|
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 |
|