Skip to content

Questions and answers about ERM scripts for WoG.

User Avatar
#56
Auto-translated
Max96;138439
Here:
!?OB57;
!!HE-1:P?v1/?v2/?v3;
You can substitute any variables for v1, v2, and v3.
As a result, these variables will contain the coordinates of the obelisk.
You can do it differently, but this is simpler.
Max96, my friend, this is the first method I tested, and it doesn't always work. The problem is that when triggering objects, the hero doesn't always step onto them, you understand what I mean? He climbs onto the Obelisk, but with the Skeleton, for example, he approaches it closely but doesn't step onto it :( . That's the whole problem.
I'll have to check the entire area within a radius of 2 cells for the presence of object #22, that is, the Skeleton, because I need it specifically for the script)...