(Old code tutorial) Adding a backpack item! -By Conner94 (It works!) from Wolf Planet forum

View previous topic View next topic Go down

(Old code tutorial) Adding a backpack item! -By Conner94 (It works!) from Wolf Planet forum

Post by Officer-M. John (Admin) on Sun Mar 27, 2016 9:40 am

Here is mine, it should work.
http://www.irwinsoftware.com/wolf3d/backp.htm (Not work this the Link because inactive)

I need to update it, you need to change your bo_**** to be like this:

Code:

case bo_(whatever):
        if (gamestate.backp == 1)
           {
            if (gamstate.ammo == 99)
            return;
            }
         else
         if (gamestate.ammo == 50)
         return;
(and the rest of the case)

I imported it in a project, but I haven't tested it yet. I know, I should test it, but from what I can tell it will work.

Writte by Conner94 on Sun Jan 16, 2005 5:25 am
avatar
Officer-M. John (Admin)
Admin

Posts : 323
Join date : 2015-10-02
Age : 19

View user profile http://wolf3dfanboys.usersboard.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum