Hi evrebody. There a new params at Dialogues. How use it? Can u put an example code. Becouse there no any exapmles enevery. It is real cool but i dont understand how use it(( = Techtree bool UnlockTechTreeItem(string blockOrItemName): Unlocks the specified tech tree item or block. Returns true/false according to success. If you specify now -1 as UnlockCost, the item can only be unlocked with this function! bool IsTechTreeItemUnlocked(string blockOrItemName): Returns if the specified item/block is already unlocked
It tells you exaclty how to use it. (BlockName or ItemName) so UnlockTechTreeItem(ShieldGeneratorBA) You can get those names from the ItemsConfig.ecf or BlocksConfig.ecf
print exaple please { +Dialogue Name: Soldat_donat NPCName: Vasy Output: "txt_Vasy" Option_1: "Salut_make" What i should put here to open some tech? }
I strongly recommend using the eWCCT tool to create dialog as it often shows you examples and explanations: https://empyriononline.com/threads/tool-ewcct-empyrion-web-content-creator-tool.92853/ But you would use the example Taelyn provided in your execute.
я dont want to use this plagin... I dont want. For me easer make it all at Notepad++ and need to understand what exacly code i should use. Please show me the code example!
I assume like so: Execute_1: "UnlockTechTreeItem(ShieldGeneratorBA)" I have yet to test it myself however. So like this: { +Dialogue Name: Soldat_donat NPCName: Vasy Output: "txt_Vasy" Option_1: "Salut_make" Execute_1: "UnlockTechTreeItem(ShieldGeneratorBA)" } That would unlock that tech tree item when that dialog state is started.
My tool is not a plugin. IF you show us your whole Dialogues.ecf about "Soldat_donat_test", we can help you.