Skip to content

Posts from Questions and answers about ERM scripts for WoG.

5.0 (1 rating)
In reply to nik312
User Avatar
18 years ago
Auto-translated
You can use ZET99 as a guide. And there's a lot written about it in the manual.
In reply to nik312
User Avatar
18 years ago
Auto-translated
:smile33: :smile35: I've read the entire topic in the reference and nothing works. Here's the part:
ZVSE
!?OB2/3/0;
!!OB2/3/0:S;
!!IF:M^!!^;
In reply to nik312
User Avatar
18 years ago
Auto-translated
What's wrong? When visiting the object, it gets disabled. Try using the instructions! #OBx/y/l:S;
In reply to nik312
User Avatar
18 years ago
Auto-translated
Sorry for the STUPID question, it's all because of the coordinates. Here's another question: how do you work with dialogues that have two images? Aren't they saved in the 'v' variable?
User Avatar
18 years ago
Auto-translated
Thank you for your help, without you I wouldn't have learned!
In reply to nik312
User Avatar
18 years ago
Auto-translated
Do you mean
!!IF:Qquestion_number/image/image_subtype/image2/image_subtype2/7^Choose one^;
This? If so, then here question_number is the number of the flag, which will be = 0 if the left image is selected, and 1 if the right image is selected.
In reply to nik312
User Avatar
18 years ago
Auto-translated
And finally, how do I remove the properties of a monster and use the dialog box with 2 pictures and a cancel button? :smile21:
In reply to nik312
User Avatar
18 years ago
Auto-translated
What properties? If they are innate, like the Gorgon's Death Gaze, then it's impossible. Dialogue with 2 images and cancellation: !!IF:Q9/pic/tpic/pic2/tpic2/10^Question^; 9 = the number of the v-variable to record the result: = 0 if canceled, = 1 if left, = 2 if right pic/tpic = image and image subtype, respectively.
In reply to nik312
User Avatar
18 years ago
Auto-translated
The issue with the monsters has been resolved. Thank you!
In reply to Dragon-King31
User Avatar
18 years ago
Auto-translated
listen, is it possible to remove a hero during a battle, like to make it more realistic?
In reply to ZET99
18 years ago
Auto-translated
Guys, please help. I'm playing WoG on the Okeaniya_WOG_3.5 map, which I downloaded from this forum, and then I edited it in the map editor. I'm encountering a problem where, after some time in the game, an ERM error starts occurring. Here are the screenshots:






and also the contents of WOGERMLOG.TXT
-----------------------
ERM syntax Error.
File: monsters
Line: 6493
Reason:
"!!BA:M"-slot out of range (0...6).

Save all ERM vars to WOGERMLOG.TXT (may take time)?
-----------------------
-----Context-----
M0/x2/d/y1;

!?FU20010;
!!VRv1:S0; !!VRv2:S-1;
!!HEx1:C0/0/?y2/?y3; !!VRv1&y2=x2:+y3; !!VRv2&y2=x2:S0;
!!HEx1:C0/1/?y2/?y3; !!VRv1&y2=x2:+y3; !!VRv2&y2=x2:S1;
!!HEx1:C0/2/?y2/?y3; !!VRv1&y2=x2:+y3; !!.....
-----------------
COMMON VARS
f=0
g=0
h=0
i=27
j=6
k=13
l=97
m=0
n=0
o=0
p=0
q=0
r=0
s=0
t=0
Common flags (1...1000)
flag77=1
Common v vars (v1...v10000)
v2=-1
v3=144
v4=1
v88=113
v89=-1548257
v300=113
v304=144
v305=1
v306=11
v307=30
v308=63
v451=16
v454=182672
v997=9
v998=62
v999=34
Hero's vars (w1...w200)

TRIGGER BASED VARS
Trigger y vars (y-1...y-100)
Trigger e vars (e-1...e-100)

FUNCTION BASED VARS
Parameters x vars (x1...x16)
x1="-1"
x2="-1"
Local y vars (y1...y100)
Local e vars (e1...e100)

STRING VARS
Common z vars (z1...z1000)
z75="Altar of Transformation"
z228="Wizard"
z301="After losing several hours, you realized that there is nothing here except"
z302="at the bottom of this well"
z303="Kirr"
z304="Ghosts"
Local z vars (z-1...z-10)


Is there any way to fix this?
User Avatar
18 years ago
Auto-translated
If only the errors in this script could be fixed.
In reply to DracoLich
User Avatar
18 years ago
Auto-translated
Hey everyone! Does anyone know if there's a program that creates ERM dialogues? That would really be helpful! I'd be very grateful if someone could post it here.

2greycardinal
My game also froze at the Oceania map at first. You just need to delete the problematic event (the one with ERM), or, at worst, delete them all – then it definitely won't freeze anymore.
User Avatar
17 years ago
Auto-translated
I have Oceania on Visla, but after the first week, it started displaying an error saying that the file could not be read, and the game closed.
User Avatar
17 years ago
Auto-translated
WhiteLizard, here, but why do you need it? It has limited functionality; it's better to create it yourself.

Statistics

Welcome our newest member: recijeb