Posts from Questions and answers about ERM scripts for WoG.
Another question. And with which command can I get the position of a stack in battle from its stack number?
ZVSE
!!BM{stack number}:P?{variable};
What's wrong with this line?
!!MA:X176/?v5226;
!!VRv5226:+2048;
!!MA:X176/v5226;
But the beam turned out to be black and comes from the middle of the staff. How can I make it appear in the right place and be green?
!?LE29/52/0;
!!OB50/27/0:T0;
!!OB50/30/0:T0;
(Although the trigger is executed, as it displays the message!)
To remove an object, use UN:O.
!#TR29/68/0:P1;
!#TR30/68/0:P1;
!?LE29/52/0;
!!UN29/48/0:O;
!!UN31/48/0:O;
!!LE29/52/0:M^You saw a fire and spent the rest of the day putting it out^;
!!HE-1:W0;
!!TR29/51/0:P1;
!!TR30/51/0:P1;
!!TR29/50/0:P1;
!!TR29/49/0:P1;
!!TR29/48/0:P1;
!!TR29/51/0:E0;
!!OB29/51/0:T119;
!!OB29/49/0:T119;
!!OB29/48/0:T119;
!?LE33/55/0;
!!HE-1:W600;
It says the script is incorrect and produces the following (see screenshot)
:smile32:
!!UN:Ox/y/l/h; - delete object
x/y/l = coordinates, h = delete description on right-click (0=no, 1=yes)