darkrealos's Recent Forum Activity

  • anyone help with this problem?

  • no luck the event still wont trigger, i think for some reason it wont read the hp trigger , as ive done tests to check what triggering and it wont change variable after the hp one

  • ahhh brilliant ill give that a try and let you know

  • ahh i see that makes sense the only problem i have is that if i remove the demonhealer from the demons family then it will lose all of its variables and pathfinding and stuff as ive combined it all through the family, would it be possible to make a family called nonhealers just for the objects and use that?

  • hey sir here's updated code and simplified so everything you see should work by it self, but it doesn't, the demons don't seem to be healing people or moving towards them even tho, looking in the debugger they dont even trigger the event so even tho demons hp is below maxhp they still dont trigger

    http://imgur.com/a/NwtaG

  • thanks for the reply i will try this new method and see what happens yeah making a simple version will be hard as there is so much code XDDD but thanks a bunch for the help and i will update on the progress

  • yeah the demon healers are in Demons aswell, but i can live without healers healing healers, as thier main goal is to heal front line troops, so what if i did and or block?

    for the other demons excluding demon healers, do you think that would work? thanks for the reply really appreciate it

  • RayKi hi there thanks alot for replying, the initial value is -500000 on both so that when the demons spawn and start initially moving they wont see that point so then they sound pathfinding as normal til they find a target they want, the problem is it wont trigger to find a demon as i think the trigger will only trigger itself meaning i think if a demon healer has less then -hpmax then the demon healer will trigger the effect

    p.s im trying to keep this project secret so if you want to see anything let me know and ill just print screen code you want to see

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • anyone?

  • hi there i was wondering if someone can help me, im trying to have my demon healers try find demons that have lower health then their max health and then pathfind to them and heal but the demons dont stop to heal demons or chuck the healing potions at them, i think the problem is the code demons HP < demons.HPMax but i'm not sure how to work around this. image in link below of code

    http://imgur.com/a/B8Bu3

  • i believe i worked out the issue, from the code i showed you it would never work because all of the objects its looking for isn't in line of sight meaning that it would always trigger, so simple fix was to set last known position on sprite and have line of sight on position meaning that it should never be out of sight

  • i got rid of all the each's in there as you said they were unnecessary, i thought the random timer just gave each individual their own rate of fire but the timer is the problem as for some reason the line of sight doesn't work as when one of them are not in line of sight it changes the code for all the demon archers not just the one

darkrealos's avatar

darkrealos

Member since 3 Mar, 2013

None one is following darkrealos yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies