Hendricks266, on 20 October 2017 - 04:44 PM, said:
state updatevalue
getplayer[THISACTOR].wackedbyactor killer
getactor[killer].picnum tempkiller
ifvare tempkiller APLAYER
{
getactor[killer].yvel tempkiller
getplayer[tempkiller].max_ammo_amount RPG_WEAPON temp
addvar temp 10
setplayer[tempkiller].max_ammo_amount RPG_WEAPON temp
}
endsI only got it to work when put under ifwasweapon RPG - I don't know how to make it work if put under ifhitweapon under ifdead or reverse. Anyway - Something comepletely different: Is it possible to draw an ingame menu with options that perform lines of code when pressed when chosen, and if it is, is it difficult? I'm thinking of an upgrade system, but you'll have to use menu to upgrade the weapons.

Help
Duke4.net
DNF #1
Duke 3D #1



