• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help With Repick and Kick

Status
Not open for further replies.
Level 19
Joined
Jan 12, 2011
Messages
1,523
Help With Repick..

Well im making a map (the world of azeroth) and well the map is almost complete (i could still add some more races if it wouldnt be bcuse blizzards 8mb shitty limit...) well it got like 22 races but i need help with something , how can i make a repick system like : before 5 mins of gametime has passed player can type -repick and all his units /buildings / heros will disapear and he will get 5 more circles so he can use his upgrade (the one that replaces the circles with peons).. if you dont understand very well try the map is in the map section (its in pending maps but it does not have bugs and its very well made took me hours to make the races)..



thnx for all the help mods and people give here :p
 
Last edited:

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
GangSpears system is a really good idea this is how i think it should look

1- make a variable , name it what ever you want (i use unitgroup_remove) and type is unit group

2- use this triggers
  • repick system
  • Events
  • Player - Player 1 (Red) types a chat message containing -repick as An exact match
  • Conditions
  • Actions
  • Set unitgroup_remove = (Units owned by (Triggering player))
  • Unit Group - Pick every unit in unitgroup_remove and do (Unit - Remove (Triggering unit) from the game)
  • Player - Limit training of Heroes to 1 for (Triggering player)
  • Wait 300.00 seconds
  • Trigger - Turn off (This trigger)

Also how you want the kick system you want the host to kick players or like all players vote?
 
Last edited:
Level 15
Joined
Jul 9, 2008
Messages
1,552
dont put the wait in that trigger

make a new trigger with the event game time elaped becomes 300 turn off ur repick trigger

also add a condition and check if its true so that u can only repick once (thats if u wanted only able to repick once )
 
Level 19
Joined
Jan 12, 2011
Messages
1,523
but there are 2 problems the limit hero to one isnt needed bcuse the game already makes u able to train only 1 per hero. also that trigger wont remove the already picked hero i mean he can revive it cant he? :S also how to make that after player types repick he will recover the 5 starting circles? do i have to make 5 regions and make player types repick and create 5 circles each 1 in every region ?
 
Level 19
Joined
Jan 12, 2011
Messages
1,523
i only need 2 stuff to finish it how to reset upgrades and also i cant find how to add
Unit Group - Pick every unit in unitgroup_remove and do (Unit - Remove (Triggering unit) from the game)


and also here:

1- make a variable , name it what ever you want (i use unitgroup_remove) and type is unit group
ok i named it unitgroup and type unit group but do i need to add more stuff?
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
1. no you dont need any more variables

NOTE!! - Not the one with multiple actions

select those
1. unitgroup - pick every unit in (units in(playable map area)) and do action
2. click (units in(playable map area))
3. select unitgroup_remove
4. go back
5. click action
6. select unit - remove
7. your done

im working on research remove system atm
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
You can not unresearch upgrades in WC3. Once an upgrade level is increased by eithor triggers or by researching it, it will be permanent.

Heroes that are removed can not be revived for the logical reason they no longer exist. Heroes are only revivable when they are dead. Removed units simply do not exist
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
then i only got one idea when a unit types repick you max all researches thats the only way i think
That is a bad idea. The result would be that by repicking you get all technologies for free meaning anyone who does not repick at start will be at a major disadvantage.

The only solution I can think of is to charge the repicking player the cost of all upgrades that still effect his selection choice. This could be done over another 5 minute period to prevent being totally broke when repicking.
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
That is a bad idea. The result would be that by repicking you get all technologies for free meaning anyone who does not repick at start will be at a major disadvantage.

The only solution I can think of is to charge the repicking player the cost of all upgrades that still effect his selection choice. This could be done over another 5 minute period to prevent being totally broke when repicking.

how about this system then, when you repick next time you upgrade something it cost normal price+upgrades allready used

its maybe a bit hard to make but think its fair
 
Status
Not open for further replies.
Top