Hero Pickers

  • Thread starter Thread starter Questioneer
  • Start date Start date
Q

Questioneer

Guest
I need two hero picking systems.

The first one is the one where you double click on a unit and then it becomes yours, I see the select unit in the players part, but I don't know how that applies correctly.

The second one is the cycle one, where you press the right or left key and the heros cycle through, and when you press esc you get your hero.

Please help me with these, they're giving me too much trouble :(.
 
For double click,

E: Player select a unit
C: (Selectable) equal to True
C: Owner of (Selected Unit) equal to Neutral Passive
A: If/Then/Else
-If: Boolean - (Click) equal to True
-If: <ClickedHero>[Player # of triggering player] equal to (Selected Unit)
-Then: Unit (Change ownership of (Selected Unit) to (Triggering Player))
-Then: Set (Selectable) equal to False
-Else: Set (Click) = true
-Else: Set <ClickedHero>[Player # of triggering player] = (Selected Unit)
-Else: Wait .5 game time seconds
-Else: Set (Click) = None
-Else: Set <ClickedHero>[Player # of triggering player] = None

Something like that, but its off the top of my head so there most likely will be bugs, variables used are (Click) - Boolean, (ClickedHero) - Unit array size of # of players, and finally Selectable is a boolean checking if the player can select a unit.

For the arrow ones just use a line of if/then/else, if its say a paladin, and u press > then select the blood mage, if your selection is bloodmage and u press < then select paladin, then for the esc part use 'Player - Cenimatic Skipped' event.
 
One problem, Selected Unit isn't an option in the list :(.
 
No no that one the second condition. The (Selected Unit) I can't seem to find it, unless it's a variable then either you forgot to put it there or I might have over read it.
 
As thescreenshot says, for player selection event use Triggering unit... I kinda figured with that screenshot you would get it come on now :rolleyes:
 
Oooo... I feel like such a noob :banghead: Why am I in IB again?
 
I dont know if im supposed to be feeling stupid or just tricked to shut up, but what is IB?
 
There is no (Selected Unit) because a player can select multiple units. You have to use "Unit Group - Pick every unit in (Units currently selected by (Triggering Player))".

"None" should actually be "No unit".
 
> There is no (Selected Unit) because a player can select multiple units.

If the units aren't yours, you can only select one.
And, "triggering unit" would be the currently selected one.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper
  • Stephen Stephen:
    Oh no - please don't lose the Nuon content
    +1
  • The Helper The Helper:
    Someone email AtariAge and see if they want me to transfer the forum data over to it
  • Ghan Ghan:
    Could probably keep NUON stuff around here if we wanted.
  • Ghan Ghan:
    Hmm what to do about the World Editor site though?
  • Stephen Stephen:
    I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun
  • The Helper The Helper:
    There will be a github of the forum data so the NUON Forum Data I guess would be available there
  • The Helper The Helper:
    World Editor is technically Ryoko stuff not mine you guys can keep that I am not in that even
  • jonas jonas:
    :( end of an era :(
  • The Helper The Helper:
    Dont think of it as an end jonas - think of it as a beginning, because really my friend that is what it is.
  • The Helper The Helper:
    Also, anyone who is reading this and is sad - don't be, turn off the Internet, step away from the box - enjoy your life - there is so much more out there for you than there is here for you.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top