I can confirm only that you have to use set_attached_scene_prop with an instance rather than a prop definition.
I'm not sure about reg0 from spawn_scene_prop. I thought it worked, but I've heard people saying that it doesn't...
I'm not sure about reg0 from spawn_scene_prop. I thought it worked, but I've heard people saying that it doesn't...
"I've", please.La Grandmaster said:I'm trying to write a piece of code which spawns a scene prop when a specific mount is equipped and then attachs it to the mount - I've looked at the code for the deployable pavise shield for help as I believe this accomplishes two of the required steps in what I will need to do
- 1) find out whether the player has the correct item equipped
and then if yes
2) spawn the scene prop.
Ok so I've tried to do thisYou should stop spawning the scene props once you attach one into your horse. You can set a slot of horse agent, to mark it already has the scene prop attached.
but I've done something wrong as it still crashes