Author Topic: projectile events for bots.  (Read 2041 times)


-super snip-
holy loving god how much loving events do you have

[img]https://cdn.discordapp.com/attachments/535827708630925313/546093780294696969/botweakness.gif[/img]

This is an output event for bots which sets the bot's weaknesses against projectiles.
First field is the name of the projectile, as an example, the projectile for Gun is gunProjectile.
Second field is multiplier. 1 is normal damage, 2 is double damage, 3 is triple damage and so on..
Values between 0 and 1 means that the bot will take reduced damage, having the value negative will heal the bot instead.
Supports multiple weaknesses on same bot.

Here: https://cdn.discordapp.com/attachments/535827708630925313/546097237889908736/Event_BotWeakness.zip
Why not have a list of projectiles instead of a string for the event? That way it's more user friendly because then they don't have to find out what the data block names for all the projectiles are manually.
« Last Edit: February 16, 2019, 07:22:00 AM by jes00 »

Why not have a list of projectiles instead of a string for the event? That way it's more user friendly because then they don't have to find out what the data block names for all the projectiles are manually.
This could be pretty useful, but like for your average handicap I'll probably give up midway through trying to find out the datablock names. A list would be way more convenient for just setting up this system.

holy loving god how much loving events do you have
Slayer adds quite a few onActivate(TeamX) events and such, which is why it looks like I have ton of events.
Why not have a list of projectiles instead of a string for the event? That way it's more user friendly because then they don't have to find out what the data block names for all the projectiles are manually.
This could be pretty useful, but like for your average handicap I'll probably give up midway through trying to find out the datablock names. A list would be way more convenient for just setting up this system.
Good point, I have updated the add-on so it now includes a projectile list.


Updated Version: https://cdn.discordapp.com/attachments/535827708630925313/546407708992077834/Event_BotWeakness.zip

You could just do Datablock ProjectileData when you register the event instead of building your own list.

You could just do Datablock ProjectileData when you register the event instead of building your own list.
True, but doesn't this just read the UI name of ProjectileDatas? As far as I'm aware not everyone bothers to write UI names for their projectiles.
« Last Edit: February 17, 2019, 01:28:06 PM by Revive »

True, but doesn't this just read the UI name of ProjectileDatas? As far as I'm aware not everyone bothers to write UI names for their projectiles.
Yeah. People usually do I think.