hey all...
i need to make 2 systems for my map and so i ask here for help
1. system
System for item combining
i need to make a system that if a certain spell is used checks the name of the item in slot 1 (for example : hammer of the vapmpires) whether it contains hammer, dagger, sword, spear, and so on...if so it should check whether in slot 2 and 3 are 2 certain items (thats easy )...now the first tricky part...1 of these 2 items in slot 2 or 3 is an enchantment and i want the system to check the string of it (for example : enchantment of pure strength) whats written after enchantment and then the system should check out of a list of items which item has the name combined of these 2 strings....means in this case with the examples it should find hammer of pure strength...now the second tricky part...my items are ranked and the rank is written behind the whole name means there are hammer of pure strength (Rank 1) , hammer of pure strength (Rank 2) and hammer of pure strength (Rank 3) and the system should check whick rank the item in slot 1 was (for example : Rank 1) and should search the rank +1....so it would be hammer of pure strength (Rank 2)...after finding it the system should remove the items in slots 1,2 & 3 and add the item found...so here it would be hammer of pure strength (Rank 2).
now my problem...i really dont know how to make this system because i never worked with strings...and especially not in a system like this...could you help me there?
2. system
Spell trigger system
this system should do this: a hero has 3 different dummy spells doing nothing. The player has to order the hero to cast these 3 spells in certain orders. If the order was right a spell should be cast...if not a text message sould appear saying that it was wrong.
My problem here is that i dont know how to make this system too....help please
thanks in advance & +rep for sure
greetz happy
i need to make 2 systems for my map and so i ask here for help
1. system
System for item combining
i need to make a system that if a certain spell is used checks the name of the item in slot 1 (for example : hammer of the vapmpires) whether it contains hammer, dagger, sword, spear, and so on...if so it should check whether in slot 2 and 3 are 2 certain items (thats easy )...now the first tricky part...1 of these 2 items in slot 2 or 3 is an enchantment and i want the system to check the string of it (for example : enchantment of pure strength) whats written after enchantment and then the system should check out of a list of items which item has the name combined of these 2 strings....means in this case with the examples it should find hammer of pure strength...now the second tricky part...my items are ranked and the rank is written behind the whole name means there are hammer of pure strength (Rank 1) , hammer of pure strength (Rank 2) and hammer of pure strength (Rank 3) and the system should check whick rank the item in slot 1 was (for example : Rank 1) and should search the rank +1....so it would be hammer of pure strength (Rank 2)...after finding it the system should remove the items in slots 1,2 & 3 and add the item found...so here it would be hammer of pure strength (Rank 2).
now my problem...i really dont know how to make this system because i never worked with strings...and especially not in a system like this...could you help me there?
2. system
Spell trigger system
this system should do this: a hero has 3 different dummy spells doing nothing. The player has to order the hero to cast these 3 spells in certain orders. If the order was right a spell should be cast...if not a text message sould appear saying that it was wrong.
My problem here is that i dont know how to make this system too....help please
thanks in advance & +rep for sure
greetz happy