Help with a hero wars map.

Fulgore

New Member
Reaction score
0
I've been working on my hero wars map for some time now and I know alot about the editor just by experimenting. But back to my map, I am having a hard time with the dueling in my map :banghead: . I want duels to happen every 2 minutes with a hero selected from each side but I don't know how to, so could I get some help here?

P.S. Thanks for reading...
 
You need a bit more clarity on what exactly has you stuck. This can be done my making a trigger that runs every two minutes that checks available heroes in game and selects two randomly. Have you started a trigger yet?
 
Well thats the thing I just dont know how to do things like that. I'm not to familiar with time triggers and how to randomly pick a hero from each side to battle. And no I haven't started a trigger for dueling becasue I don't know what to put in for it.
 
Or look at the hero arena tutorial to your left.
 
:confused: he asks how to make duels every 2 minutes so you tell him to look at a tutorial that shows how to pick heroes?


the first thing you should do is just get a duel working and then you can worry about how often duels occur. first you should just make a trigger that duels 2 set players (like player 1 and player 2, dont make it random for the first part) i dont know what your regions are or what hero variables (if any) you use or anything like that so i cant tell you exactly how to do it.

make a trigger with no event and no conditions, in the actions you'd probably want to pause every unit. make 2 "point" variables for the position of player 1 hero and player 2 hero. move player 1's hero to the arena, move player 2's hero to the arena, unpause heroes for player 1 and player 2, start a timer (if you want) so people cant just constantly run away from eachother forever.

then you'd need another trigger for when someone dies, make this trigger initially off. in the trigger above don't forget to turn this one on. in this one when player 1 or player 2 hero dies give the winner what ever rewards you want. move player 1 hero back to its original position (the point variable from above) and the same for player 2. then unpause all units and turn this trigger off.

try to get that working first
 
Im not to good with variables (there real confusing to me) could you some how show me how to do the variables part. (By typing it in)

Thanks for given me a good answer :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Also, in the last template there was a seperation between sticky threads and regular threads in the forum
  • Ghan Ghan:
    Not sure. It's probably part of a cron job.
  • The Helper The Helper:
    Hey Ghan, whatever cron job its part of its not running its been the same for days. If it does not work can we remove it?
  • The Helper The Helper:
    LOL! A tweak job!
  • The Helper The Helper:
    this is the fix I get from that yeah this is hard to control. disabling bots is pretty much necessary as ai and other bots would push really old threads to the top. reduce weight of view count. disable guest view tracking if you really want to push active threads to the top. a bit of tinkering for a few days with the weights and other settings should get you a decent trending widget box.
  • Ghan Ghan:
    I changed the settings a bit.
  • Ghan Ghan:
    Narrowed it to 7 days for the half-life and set views to 0 weight.
  • The Helper The Helper:
    I dont think Trending would work for this forum it would be better to just have the last 5 posts from anywhere
  • Ghan Ghan:
    Probably will have to give it some time to update.
  • Ghan Ghan:
    I'm guessing it is not retroactive.
  • Ghan Ghan:
    Next on the punch list: Update the server to Ubuntu 24.04.
  • The Helper The Helper:
    Mad Lads is new I see it displays original post date
  • The Helper The Helper:
    as long as it changes it is good - it is good now it updated and its new stuff
  • The Helper The Helper:
    One thing I have noticed and I dont know if it is by design but like 1 out of 3 times I come to the site the Anubis screen just hangs open, if I refresh it will go away but sometimes it hangs
  • Ghan Ghan:
    I've seen that as well.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!

The Helper Discord

Staff online

  • Ghan
    Administrator - Servers are fun

Members online

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top