Skip to main content

Execute_GetRewardObjectPool

Description

Randomly selects an object from the specified reward object pool and spawns it into the BaseObject's inventory. On success, also requests a gathering inner thought icon for the base entity.

Note

If the pool pick returns an empty result, nothing is generated.

Parameters

ParameterDescription
BaseObjectThe entity whose inventory will receive the randomly picked reward object
S1Reward object pool ID (RewardObjectPool.json Id) used to randomly select an object

Examples

DescriptionBaseObjectCommandS1
Randomly reward Self from "Pool_Fruit"SelfGetRewardObjectPoolPool_Fruit
Give random reward item to Target from herb poolTargetGetRewardObjectPoolPool_Herb
Pick random reward from gathering pool for SelfSelfGetRewardObjectPoolPool_Gather