Is it possible for me to arrange items in a specific way inside an inventory to change them into something else? This is hard to explain, so I'll try my best.
Imagine this is an inventory:
-
Now, if my character decides to put something in the inventory in a certain order, represented by X and O:
oxo
Is it then possible for the game to realise that this pattern has been established, and turn these items into another item?
I know this was possible in WC3, so I assume it should be possible in SC2
I would've thought a trigger that allows you to reference specific items would have been necessary... damn, I'll have to think of an entirely different gameplay mechanic now. Thanks for your help, though, I appreciate it.
You mentioned earlier making the meat a consumable... how would I go about that?
Whilst that is a good idea, I also need this sort of thing for the building later on in the game. If the player picks up 3 pieces of scrap metal, he can build a structure, therefore I would need to remove 3 scrap metal from inventory.
I've been making my own map and have made some good progress on it, but now I've hit a snag.
In my game, the character must collect meat to eat, but also scrap metal to build things. I have given the hero and ability called "Eat Meat". "Eat Meat" can only be seen and used when there is meat in the inventory... so that's ok so far!
But how do I tell the game that, once this ability has been used, one "Meat" must be removed from the inventory?
0
@Talon0815: Go
Thanks a lot, that's very helpful :)
As for the meat, I've decided to go the consumable item route.
"You could make the meat a consumable item with 1 charge "
How would I go about doing this?
0
Hey guys, sorry for posting another help thread!
Is it possible for me to arrange items in a specific way inside an inventory to change them into something else? This is hard to explain, so I'll try my best.
Imagine this is an inventory:
-Now, if my character decides to put something in the inventory in a certain order, represented by X and O:
oxo
Is it then possible for the game to realise that this pattern has been established, and turn these items into another item?
I know this was possible in WC3, so I assume it should be possible in SC2
0
@Mesothere: Go
Sorry for another nooby reply, but I can't quite work out the actions part, how do I do the "for every" part?
Nevermind, i got it.
0
@LonZealot: Go
Thanks for the reply, looks great, jugonna try it now
0
Hey there,
How would I go about making items/units spawn randomly across my map?
I'd like the player to hunt down mobs to kill for meat, and also for building resources to spawn at random places on the island.
0
Sorry to quote myself, but I was wondering if anybody could help with this issue?
Additionally, is it possible for the following:
My unit has a build ability. It requires the following in an inventory:
Scrap Metal Power Battery
If he has these two, he should be able to build a Charging Station. How do I then get the game to remove these resources, as they have been used?
0
@Talon0815: Go
Thanks for the quick response... but how do I do this?
I figure this could also be applied to the meat logic.
Sorry for being a bit of a noob at this stuff, but could you tell me how that would be done?
0
@LonZealot: Go
Wow, really?
I would've thought a trigger that allows you to reference specific items would have been necessary... damn, I'll have to think of an entirely different gameplay mechanic now. Thanks for your help, though, I appreciate it.
You mentioned earlier making the meat a consumable... how would I go about that?
0
@LonZealot: Go
Whilst that is a good idea, I also need this sort of thing for the building later on in the game. If the player picks up 3 pieces of scrap metal, he can build a structure, therefore I would need to remove 3 scrap metal from inventory.
0
Hey there,
I've been making my own map and have made some good progress on it, but now I've hit a snag.
In my game, the character must collect meat to eat, but also scrap metal to build things. I have given the hero and ability called "Eat Meat". "Eat Meat" can only be seen and used when there is meat in the inventory... so that's ok so far!
But how do I tell the game that, once this ability has been used, one "Meat" must be removed from the inventory?
Any help would be GREATLY appreciated!