2881
Modification Help / How do I make my item move after spawning it?
« on: December 15, 2016, 05:42:22 PM »
I'm trying to create a new item but when it's created I want it to fly out at a certain 3F velocity, like the event itself does.
When I create an item using this code:
It just kinda hangs around suspended in the location I specified in the position field, and then after a while, it sorta just falls/teleports to the ground. How would I give it a certain velocity, for example, make it shoot up with the velocity 0 0 10?
If you know any add-ons that do this let me know.
When I create an item using this code:
Code: [Select]
%spawnedItem = new Item()
{
datablock = %item;
position = %newpost;
};
It just kinda hangs around suspended in the location I specified in the position field, and then after a while, it sorta just falls/teleports to the ground. How would I give it a certain velocity, for example, make it shoot up with the velocity 0 0 10?
If you know any add-ons that do this let me know.