Jumppoints in ERM?

Rund um das inoffizielle Addon Wake of Gods

Moderatoren: Thies, mara, Radagast, Azurdrachen

Antworten
DeadEye
Frischfleisch
Beiträge: 1
Registriert: Mi 06.02.2002 - 13:16

Beitrag von DeadEye »

how can you do jump points in ERM?

Example:
code
jumpcommad to 1
code that will not be executed
jumppoint 1
code that will be executed


I tried that with the !!FU funtion but it didn`t work

help is apritiated
Darksir
Ritter/Amazone
Ritter/Amazone
Beiträge: 686
Registriert: Di 24.07.2001 - 07:41

Beitrag von Darksir »

Hi DeadEye

You example is very general. I will try it.

You have to use vars to jump to special points:

!!VRv1:S1;
!!FU1&v1<>1: P; ** will not executed, because v1 is 1 (no space - without space the forum places :P)
!!FU2&v1=1;: P; ** will be executed, because v1 is 1

!?FU1;
** now follows code that won`t be executed above, perhaps anywhere (global in any script)or anytime (when you set v1<>1) else.

!?FU2;
** this code will be executed

Dieter

[ Dieser Beitrag wurde von Darksir am 06.02.2002 editiert. ]
Benutzeravatar
samot
Drache
Drache
Beiträge: 2797
Registriert: Mo 16.07.2001 - 12:48
Wohnort: Koblenz
Kontaktdaten:

Beitrag von samot »

You can only realize GOSUB-Jumps by using !!FU (no GOTO-Jumps). For this reason you have to use the second !!FU-Receiver.

mfg

Thomas
Wollt Ihr den Hebel umlegen? - Ja - Peng, jetzt ist der Hebel tot...
Antworten

Zurück zu „Heroes 3 WoG“