Can a spawned scene prop become pickable item?

正在查看此主题的用户

duck83

Veteran
Hello.

As in the subject - is it possible for a scene prop that got spawned on scene to become an object being able to get picked up?

The thing is I'd wish to have a wooden log being a spawnable scene prop and after being spawned I wish it to be allowing to get it equiped in the inventory as a common wood resource (being treated as the typical wood as in Native MnB and Warband). Can anyone help on that?
 
spawn_item lets you spawn items in the same place as scene props with set_spawn_position. For making it equipped in the inventory it depends on whether it's singleplayer or multiplayer, as certain triggers dealing with that stuff aren't available in singleplayer.
 
I'm sorry for doubling the post, but I have yet another question of opposite nature to the previous one.

That one is, if I am able to spawn scene prop after "removing" or taking some other action with equipable item?

I mean, would that be possible to write such a code in module_scene_props for a scene prop to be spawned i.e. after I drop spawned item into the chest container?

Is the opposite direction of spawning possible?
 
Perhaps this could help? It involves an item turning into a scene object and vice versa.

http://forums.taleworlds.com/index.php/topic,117391.0.html
 
后退
顶部 底部