Hi there, i'm trying to make a particular armor (halo-like). I've tried with ACS, with no luck.
Steps so far:
1) Check the inventory of the player, if exists a particular armor (hell armor)
2) give 1 armor point to the player until it reaches a particular value (300), which does not work.
Maybe I should try with DECORATE?
Could someone put a code snippet?
Thanks.
Rechargeable Armor: can't find a solution (Zandronum & Zdoom)
- LuciferSam
- New User
- Posts: 7
- Joined: Tue Sep 17, 2013 8:28 pm
- -Jes-
- Frequent Poster Miles card holder
- Posts: 975
- Joined: Fri Aug 03, 2012 9:55 am
- Location: Void Zone
RE: Rechargeable Armor: can't find a solution (Zandronum & Zdoom)
script blah enter
{
while getinv health > 0
{
if getinv basicarmor != 300 giveinv basicarmor 1
delay 17
}
}
?
{
while getinv health > 0
{
if getinv basicarmor != 300 giveinv basicarmor 1
delay 17
}
}
?
Last edited by -Jes- on Mon May 12, 2014 7:55 pm, edited 1 time in total.
- LuciferSam
- New User
- Posts: 7
- Joined: Tue Sep 17, 2013 8:28 pm
RE: Rechargeable Armor: can't find a solution (Zandronum & Zdoom)
I was missing the first while statement. Now it works, thanks!