• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Crystal System Help Please

Status
Not open for further replies.
Level 6
Joined
Aug 19, 2007
Messages
109
Hello all! I have been working alongside a few others on this new RPG (So far called 'Hells Gate RPG' and have encountered a problem with our 'Crystal System'. Basically you are allowed to add crystals to a Multiboard which is set up at the start of the game.

There are six players altogether(Thats the array-6 for each variable).

Well, everything works EXCEPT the Remove Crystal trigger.
-When the hero clicks remove crystal ability. The Multiboard removes the name of the item-BUT the item does not get created in the hero's inventory.
-I know the problem lies within my Hashtable-I just do not know what.

Please, Please help me! Would appreciate very much! :grin:

For the entire system here is the Map:
 

Attachments

Thanks Maker: Hmm, saving items types to a Variable array eh? Yes although it would work I ruled it out because there are so many items in the map that i would have to record down 100 or so items in that array-which I would find tiring...Moreover I would have to keep refering to that record to look for which item-type I set as a certain number.

E.g. Oh dear...what was Strength Stone again? (Looks through the whole list of 100s of item-types in variables)-Takes ages XD. Ah there found it!

Perhaps if you could please tell me a way of using hashtables but...maybe something like saving the item-type as a string value which records the raw data name of the item. - Or maybe another way not as time consuming and tiring as this xD.

I appreciate the help though! Yes our way would work i admit ^^.:grin:

Still looking for a viable method though :confused:
 
Status
Not open for further replies.
Back
Top