Author Topic: How to make a bot throw a inventory item/object?  (Read 588 times)

How to make a bot throw a inventory item/object?

Spawn an item and add velocity to it.

You can add velocity to items?

Spawn an item and add velocity to it.
What's the function for spawning an item?
And how would i spawn it relative to the object i'm spawning it from?

What's the function for spawning an item?
new Item()
{
//lolstuff
};
And how would i spawn it relative to the object i'm spawning it from?
Er... How much can you script anyways..? Let alone find related resources..?