How to get the creative_prop of SpawnProp() function?

I am trying to get the creative_prop spawned by SpawnProp() function, but I don´t know how to access that instance.

I am trying to cast it like this:

if(PropSpawned:= creative_prop[SpawnProp(PropToSpawn,Transform)]):

Current error:

Dynamic cast tuple(?creative_prop,spawn_prop_result) to creative_prop: argument type tuple(?creative_prop,spawn_prop_result) must be a class.

Just found the solution, you need to access the tuple like this. Do not cast.

Tuple:=SpawnProp(YourCreativePropAsset,Transform)
if (YourCreativeProp:= Tuple(0)?):

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.