Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I'm trying to create some custom tasks. basicaly the tasks are variations of of GotoLocation and LootContainer. The difference is that it work with random destinations, and a random container in a building, for the second. Implementation is working fine as I want, but I'm still failing in one thing. As it get a random destination, when taks is created and define the destination, I need to save this destination in case player quit the game and get back latter in middle of the task. As you reconnect in middle os the task the system will reacreate the task, I need to get this saved data from before, so the task doesn't recreate with a new destination, but the preview one. How do you recommend I do this? Call that on what Task function, when do I save the info, where I reload that on task recreation on a reconnect? Thanks.
But you can implement the same logic with #is_lua. First you'll need to add this script to your mod to allow usage of is_lua in _pos scripts
https://pastebin.com/HzhfgzSH
If nothing happens, you did something wrong.
https://steamproxy.net/sharedfiles/filedetails/?id=698519943
#lua healerPlayer(getPlayer())
I tried to put this in the dialogue txt:
#lua healPlayer(player)
But it doesn't work. I need a .lua archive in the shared folder?
If you can help me i'm fully appreciated. Thank you.