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.
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#8
RE: How to empty inventory.

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(stringasName); 
On every item.

@No Author
Get the script?
PHP Code: (Select All)
void StartEffectFlash(float afFadeInfloat afWhitefloat 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 

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 03-11-2013, 03:45 PM by PutraenusAlivius.)
03-11-2013, 03:42 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)