Skip to content

foliage.h

EVS_SearchBush

extern EvtScript EVS_SearchBush source

Execute this script to animate a shaking bush and potentially spawn an item from it. Expects a SearchBushConfig on LVar0. Typically used with BindTrigger.

EVS_ShakeTree

extern EvtScript EVS_ShakeTree source

Execute this script to animate a shaking tree and potentially spawn items from it. Expects a ShakeTreeConfig on LVar0. Typically used with BindTrigger.

BushType

enum BushType source

TreeType

enum TreeType source

FoliageModelList

struct FoliageModelList source
Fields

count: s32

models: s32 [];

FoliageDrop

struct FoliageDrop source
Fields

itemID: s32

pos: Vec3i

spawnMode: s32

pickupFlag: Bytecode

spawnFlag: Bytecode

FoliageDropList

struct FoliageDropList source
Fields

count: s32

drops: FoliageDrop [];

FoliageVectorList

struct FoliageVectorList source
Fields

count: s32

vectors: Vec3i [];

SearchBushConfig

struct SearchBushConfig source
Fields

bush: FoliageModelList*

drops: FoliageDropList*

vectors: FoliageVectorList*

callback: EvtScript*

type: BushType

ShakeTreeConfig

struct ShakeTreeConfig source
Fields

leaves: FoliageModelList*

trunk: FoliageModelList*

drops: FoliageDropList*

vectors: FoliageVectorList*

callback: EvtScript*

type: TreeType