Here you go: CLICK
I don't see any "If / Then / Else, Multiple Conditions" I just got "If / Then / Else"
Huh, I won't buy TFT just to obtain some new functions... Is there another way to do it?
Let's say i found a guy that could lend me his W3 TFT for few days. What things I shouldn't put in to avoid my map being unusable on RoC? And how to conver map to RoC?
I thought pirating is fobidden on this forum... So I got an original from a school friend. I think i should follow the guide on 2nd topic?
How can i make something like craft system? If someone has i.e. bottle of gas and a lighter, he can make something like a bomb, if he drops one item on another? Would it work on RoC?
There are so many Recipes systems out there and i dont know which one to choose I don't want too complicated one... Just drag&drop without need to know/have a certain recipe or something like this. I do not want it to automatically combine items as i want to have multiple combinations with one item such like lighter and a molotova coctail, lighter and cigarette etc.
@xorkatoss:
You don't need to create the item at the point and then give it to the hero. Simply use:
- Hero - Create Claws of Attack +15 and give it to (Triggering unit)
Hmmm, true. I wonder if that does create a leak...
Allright, but in this trigger i don't see anything related to manipulating the item in inventory.well i guess this one will do...
i attached the map to make your life easier
- Item Recipe
- Events
- Unit - A unit Acquires an item
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- And - All (Conditions) are true
- Conditions
- ((Triggering unit) has an item of type Claws of Attack +6) Equal to True
- ((Triggering unit) has an item of type Claws of Attack +9) Equal to True
- Then - Actions
- Item - Remove (Item carried by (Triggering unit) of type Claws of Attack +6)
- Item - Remove (Item carried by (Triggering unit) of type Claws of Attack +9)
- Set ItemRecipe_Point = (Position of (Triggering unit))
- Item - Create Claws of Attack +15 at ItemRecipe_Point
- Hero - Give (Last created item) to (Triggering unit)
- Custom script: call RemoveLocation(udg_ItemRecipe_Point)
- Else - Actions
TIP:
this trigger is a simple example of what TFT triggers can do
you haven't seen anything yet^^
Allright, but in this trigger i don't see anything related to manipulating the item in inventory.
i don't know any Jass but thnx for the tipHero - Give item to hero doesn't create a leak; if we translate the GUI action into Jass, it becomes:
UnitAddItemByIdSwapped(). Internally, the item is created in the X and Y coordinates of the said unit; reals don't leak.
i took a look at some old comments and i just saw that you want the items to be combined if an item is dragged and ropped on another right?How can i make something like craft system? If someone has i.e. bottle of gas and a lighter, he can make something like a bomb, if he drops one item on another? Would it work on RoC?
Can i do such spell by triggers?
it shouldn't be that hard...
if the killer is going to only ONE then you could do it easily...
since as i can see you are still a beginner and can't make MUI (or MPI)...
ill post here a simple trigger soon..
EDIT:
i was gonna post the triggers here but i remembered when i was a beginner too and ppl were showing me only triggers...
for me, viewing triggers did not help AT ALL!! i needed to open the map, view the triggers and learn so im just gonna post the map to make your life easier *_*
NOTE: pls don't post offtopic comments, if you want help with anything else just pm me ;p
also i could convert map to roc if you didn't managed to do it...
Ok, the problem is that I randomly select killer so I can't point out which unit will it be. You do "Set camper" and select the unit. In my gamemode killer gets spawned at init so i cannot point out which unit will be killer or camper as it is random. Also unit cant just hide as i want to grant peasants ability to reveal hidden when certain object is in inventory.
Just don't laugh at terraining etc.