I have AIM, i think your talking about Sev lol, But i dont prefer to have trillian, i dont have many freinds and all the freind i do have they all just use aim...most of them dont even get on b/c they arent as big a geek as i am.
So...anyone wanna help me with that varaible at the end of the integer on the 2nd strand
Creating a Hero Pick Duel system, Help?
Moderator: Cheaters
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
-
- Tyrannical Drama Queen
- Posts: 4445
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: Creating a Hero Pick Duel system, Help?
Heroes is a variable, not an action. :S I believe it's a unit variable. Make it "no unit".Arabidnun wrote:(Set HeroSavePoints[(Integer A)] = (Position of Heroes[(Integer A)])) (Create an variable point array, with size 1)
I can get to the set variable(herosavepoints(interger a)) = then this is where i get stuck
i cant find the thing for position of heros
same with the facing hero
Then....
(Unit - Move Heroes[(Integer A)] instantly to (Center of HeroDuelSpots[(Integer A)])) (Create a region variable and check mark array, and keep the red none there)
unit- move heros i cant find that in units for action...idk i just dont see it any chance you can help or even make it and add on an attachment?
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Creating a Hero Pick Duel system, Help?
What about unit(kill( integer a)) is that another variable?
-
- Tyrannical Drama Queen
- Posts: 4445
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: Creating a Hero Pick Duel system, Help?
Where's that?Arabidnun wrote:What about unit(kill( integer a)) is that another variable?
(edit) Oh, kills is the integer for seeing how many hero kills people have. Create an integer array size 1, this is kills.
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
-
- Tyrannical Drama Queen
- Posts: 4445
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: Creating a Hero Pick Duel system, Help?
No one felt like moving it. LolAero wrote:This is JASS section
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Creating a Hero Pick Duel system, Help?
Bartemius, er i have a question about one of your codes
(((Player((Integer A))) slot status) Equal to Is playing)) then do (Set Team1Leader = (Integer A)) else do (Do nothing))(Create an unit variable)
Set team1leader = integer A, er i cant find out how to do set variable team1leader = value( cant find integer A), any help?
Set Team1LeaderHero = Heroes[Team1Leader](Create an integer with initial value of 14)
And i set up Team1LeaderHero as an integer with value of 14, but i cant set it = to heroes(variable)?
(((Player((Integer A))) slot status) Equal to Is playing)) then do (Set Team1Leader = (Integer A)) else do (Do nothing))(Create an unit variable)
Set team1leader = integer A, er i cant find out how to do set variable team1leader = value( cant find integer A), any help?
Set Team1LeaderHero = Heroes[Team1Leader](Create an integer with initial value of 14)
And i set up Team1LeaderHero as an integer with value of 14, but i cant set it = to heroes(variable)?
-
- Tyrannical Drama Queen
- Posts: 4445
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: Creating a Hero Pick Duel system, Help?
Sure, hold on.Arabidnun wrote:Bartemius, er i have a question about one of your codes
(((Player((Integer A))) slot status) Equal to Is playing)) then do (Set Team1Leader = (Integer A)) else do (Do nothing))(Create an unit variable)
Set team1leader = integer A, er i cant find out how to do set variable team1leader = value( cant find integer A), any help?
Set Team1LeaderHero = Heroes[Team1Leader](Create an integer with initial value of 14)
And i set up Team1LeaderHero as an integer with value of 14, but i cant set it = to heroes(variable)?
Team1Leader is an integer value of 14, not Team1LeaderHero, that's a unit - no unit variable.
You want to set Team1LeaderHero to Heroes[Team1Leader].
Where is the part on the top? I can't find it >.>
Erm, I think that part is checking to see if the person with the most kills is still playing. But I really just don't see it with any my code...
-
- Forum Staff
- Posts: 506
- Joined: August 5th, 2007, 1:38 pm
- Title: Gui Expert
- Location: *Unknown*
Re: Creating a Hero Pick Duel system, Help?
This code right here
For each (Integer A) from 1 to 6, do (If ((Kills[(Integer A)] Equal to TempMaxKill) and (((Player((Integer A))) slot status) Equal to Is playing)) then do (Set Team1Leader = (Integer A)) else do (Do nothing))(Create an unit variable)
Set Team1LeaderHero = Heroes[Team1Leader](Create an integer with initial value of 14)
Set Team1leader = integer a? how do i achieve that?
And is their a program you have that is randomly duels choosing randomly thought the players not just the highest?
For each (Integer A) from 1 to 6, do (If ((Kills[(Integer A)] Equal to TempMaxKill) and (((Player((Integer A))) slot status) Equal to Is playing)) then do (Set Team1Leader = (Integer A)) else do (Do nothing))(Create an unit variable)
Set Team1LeaderHero = Heroes[Team1Leader](Create an integer with initial value of 14)
Set Team1leader = integer a? how do i achieve that?
And is their a program you have that is randomly duels choosing randomly thought the players not just the highest?
-
- Tyrannical Drama Queen
- Posts: 4445
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: Creating a Hero Pick Duel system, Help?
Set Variable (Team1Leader) = For Loop Integer A, sorry I didn't explain that =/ It automatically shortens to integer a.Arabidnun wrote:This code right here
For each (Integer A) from 1 to 6, do (If ((Kills[(Integer A)] Equal to TempMaxKill) and (((Player((Integer A))) slot status) Equal to Is playing)) then do (Set Team1Leader = (Integer A)) else do (Do nothing))(Create an unit variable)
Set Team1LeaderHero = Heroes[Team1Leader](Create an integer with initial value of 14)
Set Team1leader = integer a? how do i achieve that?
And is their a program you have that is randomly duels choosing randomly thought the players not just the highest?