BackPack Script
I cannot get this thing to work when playing in doom games, I need someone to help me with this. I wanted this sites idea to work, but its not helping me enough for some reason.
Source: http://www.zdoom.org/wiki/index.php?tit ... moCapacity
Download: http://h1.ripway.com/ChaoUniverse/DECORATE.WAD
BackPack Script
- TheDarkArchon
- Posts: 7656
- Joined: Sat Aug 07, 2004 5:14 am
- Location: Some cold place
1. You need to compile ACS scripts.
2. Scripts between A_ markers need to have #library <LIBNAME> at the top
3. Your backpack packs state does not have a statename
4. The first state of any actor cannot have a codepointer.
5. What you want the the pickup state, which is unavailable to anything outside actors inheriting from CustomInventory.
6. If it was called from the spawn state, which I assume you are trying to do, it would disappear after the 1st tic and would do nothing to the player since the scripts caller is the backpack itself.
Most of these are class 101 errors.
2. Scripts between A_ markers need to have #library <LIBNAME> at the top
3. Your backpack packs state does not have a statename
4. The first state of any actor cannot have a codepointer.
5. What you want the the pickup state, which is unavailable to anything outside actors inheriting from CustomInventory.
6. If it was called from the spawn state, which I assume you are trying to do, it would disappear after the 1st tic and would do nothing to the player since the scripts caller is the backpack itself.
Most of these are class 101 errors.