Forum Discussion

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

No RepliesBe the first to reply

About Battlefield 2042 General Discussion

Discuss the latest news and game information around Battlefield 2042 in the community forums.16,231 PostsLatest Activity: 5 years ago