I am building a practice map for Zero Build and wanted to add the Slap Status for when a player equips their pickaxe, and then removes it after swapping off of it. The working setup that I have is by using hidden token items (Entity Prefabs) carrying a fort_template_ability with status effect points, granted and removed by a verse device that watches the equipped item.
Three issues that cause this to not be cleanly:
-
Granted abilites cannot be ACTIVATED through verse. It can be granted but not activated. The only ways currently on how activating a ability is through InputTrigger or using fort_template_ability.Use(), but there is no API to get a handle on an ability instance that was granted to a player through an item, so Verse (and devices) can not acivate it in response to game state, equip changes, triggers, round events.
-
There is no Pressed v. Triggered/While Held option. (This is in a creative device but the Input Trigger device cant be used for activating a ability.) If a player is already holding sprint or has it toggled on when their state changes, no new press occurs and the ability never fires, so effects go stale until the player happens to re-press.
-
There is not a Harvesting Tool/Pickaxe bind in InputTrigger inside of abilitys despite there being one inside of the creative device. This also goes to say creators cannot make their own keybinds, inside of Unreal Engine this is accessable.
If either a Verse API to enumerate a platers granted template ability and call Use() on them or a device that can. And/Or an event type setting on InputTrigger, and Harvesting tool be added, that would be greatly appreciated!