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 empty inventory.
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#9
RE: How to empty inventory.

(03-11-2013, 03:42 PM)JustAnotherPlayer Wrote: Use an if statement.
Like this.
PHP Code: (Select All)
if(condition)
{
    
// things to do if condition is TRUE
}
else
{
    
// things to do if condition is FALSE
} 
EDIT: For the lantern thing.
For everything, use
PHP Code: (Select All)
void RemoveItem(string& asName); 
On every item.

@No Author
Get the script?
PHP Code: (Select All)
void StartEffectFlash(float afFadeIn, float afWhite, float afFadeOut);
 
Fades the screen to white.

afFadeIn - time in seconds until screen is white
afWhite 
- determines to which percentage the screen fades to white (1.0 = completely white)
afFadeOut - time in seconds until screen is back to normal again 

Dude, I haven't replied to this thread yet.

[Image: the-cabin-in-the-woods-masked-people.jpg]
03-11-2013, 03:53 PM
Find


Messages In This Thread
How to empty inventory. - by W4rpCore - 03-10-2013, 06:52 PM
RE: How to empty inventory. - by stonecutter - 03-10-2013, 07:03 PM
RE: How to empty inventory. - by W4rpCore - 03-10-2013, 07:09 PM
RE: How to empty inventory. - by The chaser - 03-10-2013, 07:20 PM
RE: How to empty inventory. - by NaxEla - 03-10-2013, 07:09 PM
RE: How to empty inventory. - by stonecutter - 03-10-2013, 07:26 PM
RE: How to empty inventory. - by PutraenusAlivius - 03-11-2013, 03:42 PM
RE: How to empty inventory. - by No Author - 03-11-2013, 03:53 PM
RE: How to empty inventory. - by W4rpCore - 03-11-2013, 03:58 PM
RE: How to empty inventory. - by PutraenusAlivius - 03-11-2013, 04:04 PM



Users browsing this thread: 1 Guest(s)