MADrag0n
4 years agoLegend
Re: Programming in portal
All weapons you checked in "Restrictions" -> "Weapons" can be chosen by the player in the deploy screen or by you by using "ReplacePlayerInventory" command.
What currently weapon player have u can check by "HasInventory" after his deployment.
HasInventory:
Returns a Bool indicating if the provided Player has the specified ability.
Inputs:
1. Player
2. InventoryPrimaryWeaponsItem | InventorySecondaryWeaponsItem | InventoryCharacterSpecialtiesItem | InventoryOpenGadgetsItem | InventoryThrowablesItem | InventoryMeleeWeaponsItem
Output: Bool