Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

CaptainManiac

Members
  • Content count

    294
  • Joined

  • Last visited

2 Followers

About CaptainManiac

  • Rank
    Member

Recent Profile Visitors

1784 profile views

Single Status Update

See all updates by CaptainManiac

  1. script 1 enter
    {
    SetFont("dbigfont");
    delay(1);
    HudMessage(s:"Level: ",d:CheckInventory("LevelToken");HUDMSG_PLAIN|HUDMSG_FADEINOUT,0,CR_RED,364,282,0);
    HudMessage(s:"Current EXP: ",d:CheckInventory("Experience");HUDMSG_PLAIN|HUDMSG_FADEINOUT,0,CR_RED,364,1972,0);
    delay(1);
    restart;
    }

    script 2 enter
    {
    If(CheckInventory("Experience") >= EXP_LIMIT)
    {
    GiveInventory("LevelToken",1);
    GiveInventory("Experience",EXP_LIMIT - CheckInventory("Experience"));
    }
    }

     

     

     

    ok,this script is a problem.It checks for Experience and Leveltoken items in the inventory(the amount of items show the player's level and exp),but does nto refresh.

     

     

    actor Experience: CustomInventory
    {
    -Inventory.Invbar
    Inventory.MaxAmount 999999999999999999999999999999999999
    }
     actor LevelToken:CustomInventory
     {
     -Inventory.Invbar
     Inventory.MaxAmount 100
     }

    and this is the decorate code for the corresponding items.What is the matter?

    1. Show previous comments  7 more
    2. CaptainManiac

      CaptainManiac

      i used gzdoom 2.4.0 sry for that i reply today.i was silenced.

    3. Dragonfly

      Dragonfly

      I would look to making the project run in the latest stable release if I were you. :)

       

      As for helping you - I'm afraid I'm on vacation, so no access to any editors here!

    4. CaptainManiac

      CaptainManiac

      No problem,man.Thank you anyway.have a nice vacation.

×