Author Topic: Bot Event: Loot Drops  (Read 8544 times)

Not really. Its exactly what you said, just worded more intelligently.
I just think you don't understand what those words and phrases he used mean..

And when will this be completed, if ever? Is anyone even working on this or has it been abandoned?
i dont really have bad grammar, it's just my way of typing on forums and games. you need to learn how not to assume stuff like how you think i dont know what those words and phrases mean.

i dont really have bad grammar, it's just my way of typing on forums and games. you need to learn how not to assume stuff like how you think i dont know what those words and phrases mean.

If you have good grammar, please use it and save us the generalization.
"That's the way I speak in the internet" is not an excuse.

Please stop derailing this.

i dont really have bad grammar, it's just my way of typing on forums and games. you need to learn how not to assume stuff like how you think i dont know what those words and phrases mean.

Personally, it seems like you tried to make this sentence perfect when it still isn't.  I mean, your mistakes are underlined in red, why not right-click and fix each error?

Personally, it seems like you tried to make this sentence perfect when it still isn't.  I mean, your mistakes are underlined in red, why not right-click and fix each error?
to be honest, i expect people to still know what i'm saying, i mean come on. if you can read perfect grammar you should be able to read bad grammar.

*Bump*

This still needs to be fixed.

*Bump*

This still needs to be fixed.

I didn't think this was still alive

three minute script edit
Code: [Select]
RegisterOutputEvent("FxDTSbrick", "BotDropItem", "DataBlock ItemData", false);
RegisterOutputEvent("Player", "BotDropItem", "DataBlock ItemData", false);

function FxDTSbrick::BotDropItem(%brick, %item)
{
if(isObject(%bot = %brick.vehicle) && %bot.getClassName() $= "AIplayer")
{
%drop = new item()
{
datablock = %item;
rotate = true;
botdropped = true;
};
%drop.position = %bot.getPosition();
}
}

function Player::BotDropItem(%bot, %item)
{
if(isObject(%bot) && %bot.getClassName() $= "AIplayer")
{
%drop = new item()
{
datablock = %item;
rotate = true;
botdropped = true;
};
%drop.position = %bot.getPosition();
}
}

package botdropitem
{
function Armor::onCollision(%this, %player, %col, %blah1, %blah2)
{
if(%col.botdropped && isObject(%player.client) && isObject(%col) && %player.client.minigame)
{
%col.minigame = %player.client.minigame;
}

parent::onCollision(%this, %player, %col, %blah1, %blah2);
}
};
activatePackage(botddropitem);

not yet tested

Ill test it.

Edit: I'm not sure where to add it. And I'm also not sure if it can be added to Destiny/Zack0Wack0's version without some edits.
« Last Edit: May 30, 2011, 06:21:27 PM by Mr.Noßody »

ok, yea it doesn't work.  I'll fix it if I can figure out what is wrong.

You're making it drop as a new item.  Force it to drop from the AI as the brick owner's item, then the minigame can work when "Everyone's bricks included" is on.


Try this. http://zack0wack0.com/files/add-ons/Event_PrizeDrops.zip

Will do

Edit:  It works perfectly.  You are the master.  Submit this as your own on RTB and give Mr. Nobody credit for the idea.

Again, it works in minigames as well as during a normal play / freebuild map.
« Last Edit: May 31, 2011, 10:02:20 PM by Jerkface »