Author Topic: Supply Drop?  (Read 4292 times)

Lordican, are you saying that if you click the box, you can chose what you get?
That wouldn't be a bad idea.

Lordican, are you saying that if you click the box, you can chose what you get?
That wouldn't be a bad idea.
Nah, not really, but what you suggest could be used to get every item, like even the most overpowered you have, right?

No, what i try to say is that the server host can go to the RTB preference and will find 5 dropdown menus.
These dropdown menus are just like the one when you are eventing something which will let a weapon appear from a brick or whatever, thus showing every item that you can use.

Then, when the supply crate falls down, a random one is selected out of it (or all of them, depends on another RTB preference) and when you click on the box you, the items will fall out.

Lordican, are you saying that if you click the box, you can chose what you get?
That wouldn't be a bad idea.

That's what I've been *trying* to do for a day now, but no matter what I do the closest I can get would be to have separate events for each different drop. Would that be okay?

That's what I've been *trying* to do for a day now, but no matter what I do the closest I can get would be to have separate events for each different drop. Would that be okay?
Like this?
Code: [Select]
OnActivate-Self-AzjAdjSuppliesDrop-Item

Like this?
Code: [Select]
OnActivate-Self-AzjAdjSuppliesDrop-Item

Well atm I *know* I could do something like this:

OnActivate-Self-AzjPillDrop
OnActivate-Self-AzjGunDrop
OnActivate-Self-AzjOtherItemDrop
OnActivate-Self-Etc.
Etc.

That already exists, as you can see in the video, SpaceGuy gave/giving me some help in another thread, hopefully I can figure out how to put it all in one event.

Okay guys the first version of this add-on is done!

Features:

An event that has two arguments item type and number of items, you can choose how many items and of what type you want to have dropped at the bricks location.

A health supply beacon (item), with a preference in RTB prefs for drop delay (miliseconds) and number of pills.

Gun and health supply events that drop gun and health supplies based on that same rtb prefs number.

Uh, I think that's it, still though, I got it all to work, will upload soon.



(I'll be making a new version soon)

http://rapidshare.com/files/371584019/Event_SupplyDrop.zip.html
That's just the AzjAdjSupplyDrop event.
But it has a few extra features.