Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5143
Auto-translated
Fallenru
1. Where do these values come from? Why are there only 4 of them?
3. Oh man... I have about 20 of these message pointers... I don't want to configure all of them... is there a way to quickly redo everything or combine them into an array?
5. That's a shame.
6. Could you provide more details, as there seems to be no information on this topic based on a search on Yandex.
7. This has already been done! I just wanted it separately.
1. Each trigger has a specific set of values that the function it calls will return. The variables whose values you want to return with the function are written in parentheses immediately after the function name. They are arranged in a strict order, and there is a fixed number of them. You can enter no variables, or just one, but attempting to return 5 values from an "on capture" trigger will not yield good results. You can see which values the functions return after being called by a specific trigger in the script manual, which I have attached here, on pages 57-59. IMPORTANT! Do not confuse this with the values that need to be set by the trigger, which are described first in the manual, and only then are the returned values.
3. At the beginning of the script, set all the pointers to a non-working state by attaching a trigger to them (you can do this in a single conditional loop). However, each of these triggers will call one function - the message function. It will return 2 parameters, the 2nd being the name of the object. Run a bunch of checks on the names in the function, and depending on the name of the pointer, display the appropriate message. It's a bit of a workaround to check everything manually instead of in a loop. However, there is a variable in the properties that controls the duration of the messages. And why have kilometers of text on the pointers?..
6. SetHeroesExpCoeff(COEFFICIENT);
The default coefficient is 1, and the minimum possible is 0.01. Feel free to set it.
Attachments 1
1 file attached • Total size: 375.0 KB
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________