Brbrmensch 32 Posted December 15, 2019 1. kinda got stuck on basic stuff, like how to make an "on damage trigger" tried to make it with event listener with "entity on entity damage" event, but i didn't even get how to start anything inside it's script (on damage doesn't seem to do anything and there's no "on trigger" option) 2. how does "friendly fire" option work on roles? made an aggressive bot and myself with the same roles and it still damages me 3. how to make custom attacks? figured about custom keybinds, found how to trigger them (with event listener), figured how to make effects, but i didn't find how to add attack itself to it 3.5. also didn't quite figured out how to make cooldown to action - tried to disable script or keybind, but it just didn't seem to work Share this post Link to post Share on other sites
Igor Q. 519 Posted December 15, 2019 1. Make sure you check all the conditions - The event listener will look at the "trigger object" as the one doing damage, and "target object" as the one receiving the damage. - Make sure you select the right conditions for trigger/target object. To activate the trigger you will need to click + drag the box to make it usable inside your script. In this example, I click dragged "Trigger Entity", "Amount" and "Target Entity" 2) You will need to use the "Player Team" logic. 3) There is no way to "make" custom attacks with animations using the in-game models. Instead you will need to create your own model and use animation tools to make that happen. See here 3.5) Button Commands such as using hotkeys will trigger every time you activate them. To get a cooldown on them you will need to create a condition effect attached to a time delay. In the example below I created a variable called "Ability Available?" 1 Share this post Link to post Share on other sites
Brbrmensch 32 Posted December 17, 2019 thank you so much, @Igor Q.! 1. so with this i got stuck with the issue that i can't seem to affect bots, i successfully got your log going, but i also added set velocity (0,10,0) for both target and trigger entity (just to see the actual script working), and it only worked on me (trigger entity). is that because bots\npcs are different entities than players? 2. yeah, the "friendly fire" option i mentioned was of course in team, not in role, with value set to 0 it's still possible 3.5. oh, i tried to disable it by selecting special bind, but with variable it worked. great! Share this post Link to post Share on other sites