• 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.

[Solved] empty

Status
Not open for further replies.
Level 45
Joined
Feb 27, 2007
Messages
5,578
It has nothing to do with the model, you can make any unit upgrade into any other unit in this way (the Berserker unit type is actually listed under Orc - Special). You need to set the unit type and availability fields in the custom berserker upgrade and then make sure the Grunt unit actually uses that upgrade. It really should be that simple.
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
It works for any unit-type into any other unit-type, but you have to have a separate upgrade for each unit-type. You can make one of them researchable then catch the research finished event with a trigger and manually set the status of the other upgrades for that player to true (or the particular level you want).
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
JASS Class or, you know, literally any tutorial on this site that seems helpful.

This trigger does not require any JASS, and I never stated that it needed to. Literally all you had to do was:
catch the research finished event with a trigger
This is the event and the condition.
manually set the status of the other upgrades for that player to true (or the particular level you want)
These are the actions.

  • Events
    • Unit - A unit finishes researching an upgrade
  • Conditions
    • (Researched tech type) equal to RedOrcUpgrades
  • Actions
    • Player - Set the current research level of RedGrunt to 1 for (Triggering Player)
    • Player - Set the current research level of RedPeon to 1 for (Triggering Player)
    • Player - Set the current research level of RedRaider to 1 for (Triggering Player)
    • -------- etc. --------
 
Status
Not open for further replies.

Similar threads

Replies
9
Views
1K
Replies
11
Views
2K
Replies
9
Views
1K
  • Locked
  • Poll
[Solved] empty
Replies
6
Views
2K
Replies
4
Views
926
Top