Possible to change weapons propertires during game in Multiplayer for an agent?

正在查看此主题的用户

Manakel

Recruit
Hello,
I'm trying desesperatly to find a way to reduce attack efficiency when you spam them.
I though about reducing weapon proficiency each consecutive attack
-> not possible to change weapon proficiency in multiplayer (at least not found)

So is it possible to change the properties (speed or damage) of 1 player weapon during game in multiplayer (via a trigger)?

Or is it possible to force replace the player weapon by another weapon with lesser stats (but same visuals) not in player bought inventory??
 
agent_set_wielded_item, agent_has_item_equipped, agent_get_item_id, agent_unequip_item. Found these in the header operations, anything sound like what you're looking for?
 
Hello,

Thanks for the inputs.
Now i'm able
- to switch wielded item between weapon equipped.
- to unequip an item (eg the item is removed from hand and from inventory).
- to have the agent hide both items (shield + sword)

I still need to find
- how to add an item to inventory
- how to have the agend hide only his shield (like when do sheath_weapon with mouse wheel)

Still on the search !!!
 
后退
顶部 底部