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

Creating a Profession System

Status
Not open for further replies.

Vunjo

Hosted Project: SC
Level 19
Joined
Jul 1, 2010
Messages
1,340
Hello there, first I'd start with that this might require advanced triggering skills for it to work perfectly. If you're new to triggering, I'm afraid you might not help me here.

The Profession System in my dictionary is a system that automatically detects items required, held, number of charges of items, and afterwards, creates the desired item. Event in this condition are not the problem, though I'm making it when a unit casts a certain spell (I know this part xD).

I'm trying to create the whole Profession system in possibly 2 triggers, where 1 of them is activated as Map Initialization which sets variables. In theory, the system is simple, but in practice I can't make it. The following variables must be used in it:

1. List of all recipes
2. List of all createable items
3. Number of required items for each createable item
4. List of all required items for each createable item
5. Required charges of each required items for each createable item

So the trigger should include all of these variables, which are set in map initialization trigger. The system may include few more triggers, if necessary. At the moment, I have no idea how to make it, and I'd like some help creating it.

Any help is rewarded with rep and thanks.
 

Vunjo

Hosted Project: SC
Level 19
Joined
Jul 1, 2010
Messages
1,340
That depends on what's Recipe System, if it's a system that changes items when buying clearly to get the "scroll" as Recipe, then it isn't.
If Recipe System is a system that combines certain items in a new one, then Profession System = Recipe System, though in my case it uses charges as well.
 
Status
Not open for further replies.
Top