Jimin Park 24 Posted May 13, 2020 As the title says, I want to be able to change the damage inflicted when grenades blow up on hit. Share this post Link to post Share on other sites
Azaren 130 Posted May 14, 2020 (edited) Yes, you can reduced dmg by multipliers, but you need script kegs or granades. Use listeners. Edited May 14, 2020 by bures.peter 1 Share this post Link to post Share on other sites
Jimin Park 24 Posted May 14, 2020 2 hours ago, bures.peter said: Yes, you can reduced dmg by multipliers, but you need script kegs or granades. Use listeners. Could you give me an example of how to set up the listener to listen to a specific grenade and control its multiplier? Share this post Link to post Share on other sites
Azaren 130 Posted May 14, 2020 (edited) I cant well, couse im on mobile. But in listener try use ignite event or something similar. https://community.bistudio.com/wiki/Ylands_Tile_-_On_Ignite_Entity_Event. Use "this" for mark trigered item maybe? Sorry. In mobile i cant do more... Edited May 14, 2020 by bures.peter Share this post Link to post Share on other sites
Azaren 130 Posted May 14, 2020 (edited) Or you can use modified granades from start server or When was created. When granades was created, set dmg multipliers, thats all... Edited May 14, 2020 by bures.peter Share this post Link to post Share on other sites
Jimin Park 24 Posted May 14, 2020 Ok I did solve this using damage multiplier + other things. Basically even if you put 0.01 multiplier in properties window, grenades are way too powerful to be used in the game as it does 600 damage with 0.01 multiplier. However if you set damage multiplier at 0.001 during ON CREATE, the grenade ends up doing 0 damage. And then in the event ON EXPLODE, you can loop through the Affected Entities and apply damage manually. This worked perfectly for me. In order for this to work, you need to check the "Unique" for the grenade in the properties window to get access to all those events mentioned above. Share this post Link to post Share on other sites
Azaren 130 Posted May 15, 2020 Show me scipt you use pleae - i thing you use script "weird"... Sorry for my english…. Share this post Link to post Share on other sites