Hey everybody, I have a small request
The title says the basics of what I want to say, but there is a bit more to it.
I'm looking for a script that constantly keeps track of the PLAYER's weapon. (This must be the Player, regardless of which actor serves as the current Player).
When it finds out what weapon you have then it should check the script and add 'Item x' every 'y amount of frames' as long as that weapon is equipped.
I would like this to have a small area where I can edit and add weapons to script, a simple setup like this would do
(Weapon ID, Item to Regen ID, Item Amount, Frames Between Updates)
(01, 401, 3, 120)
This would make Weapon 1 when equipped add Item 401 x3 the inventory every 120 frames. (I use an ABS so my combat is all on the map, there is no battle scenes and you can attack many times per 60 frames depending on the weapon - if you're wondering why such a short frame time - I'm trying to make guns with self-recharging ammo as a perk)
The title says the basics of what I want to say, but there is a bit more to it.
I'm looking for a script that constantly keeps track of the PLAYER's weapon. (This must be the Player, regardless of which actor serves as the current Player).
When it finds out what weapon you have then it should check the script and add 'Item x' every 'y amount of frames' as long as that weapon is equipped.
I would like this to have a small area where I can edit and add weapons to script, a simple setup like this would do
(Weapon ID, Item to Regen ID, Item Amount, Frames Between Updates)
(01, 401, 3, 120)
This would make Weapon 1 when equipped add Item 401 x3 the inventory every 120 frames. (I use an ABS so my combat is all on the map, there is no battle scenes and you can attack many times per 60 frames depending on the weapon - if you're wondering why such a short frame time - I'm trying to make guns with self-recharging ammo as a perk)