Skip to content

Do such scripts even exist, and if so, where can I find them?

#2
Auto-translated

What you need is possibly only available on the ERA platform.
Example of a completed script for the first question:

!?OB3/133/0;                                                                              (object on the map at X/Y/Z coordinates - you can change these to your own)
    !!OBv998/v999/v1000:S;                                                        (disable standard object properties)
    !!VRz47:S^NPC Guard Name^;                                   (put any header between the ^ ^ symbols)
    !!VRz48:S^" - state the password, traveler!"^;                         (the question asked to the player)
    !!IF30/z47/z48;                                                                     (!!IF:  D30   , without a space, between F: and  D  /the forum converts this combination into a smiley/)
    !!IF:E1/30;                                                                                              
    !!VRz49:Sz1;
    !!VRz50:S^Sesame^;                                                                                (the answer to the question)
    !!IF&z49=z50:V8/1;
    !!VRz50:S^SESAME^;                                                            (the answer to the question, in case Caps Lock is on)
    !!IF&z49=z50:V8/1;
    !!IF&8:M^"- correct, pass through!"^;
    !!UN&8:Ov998/v999/v1000;                                            (remove the object that was just visited, in case of a correct answer)
    !!IF&-8:M^"- incorrect, get lost"^;
    !!IF:V8/0;
-------------------
Example of a completed script for the second question:
 
!?OB140/7/0;                                                                                   (object at coordinates 140/7/0 /let's say an NPC speaking with the player/)
!!MP:P^guitar^/1/0;                                                                      (start playing mp3 file guitar.mp3)  
!!IF:M^dialogue with the NPC the player is interacting with^;     (dialogue text told to the player while the audio file is playing)
-------------------------------------
If you wish to create on the ERA platform, I am attaching a link to the ERA official forum page: http://wforum.heroes35.net/index.php
You can also ask questions in the ERA Discord channel: https://discord.com/invite/bvfJGZe

Statistics

Welcome our newest member: leyu