Hi, der eine oder andere mag glauben ich sei nur zu faul mir selbst die Mühe zu machen das Ganze stückchenweise zu übersetzen aber leider ist mein GML nicht gut genug um jeden Schritt richtig umzuwandeln und selbst wenn ich das schaffen würde, bekäme ich es nie zum Laufen weil ich dann einzelne Zeichen wie (), ; vergessen würde.
Ich verlange es von keinem aber wenn jemand bereits so routiniert in GML ist das er D&D lesen und GML schreiben kann (wie man das zum Beispiel bei deutsch/englisch machen würde) wäre er mir wirklich eine SuperGroßeHilfe!
Viellecht gibt es ja auch den einen oder anderen Kniff um das ganze um die Hälfte zu kürzen, wenn ja wäre ich auch hierfür total dankbar.
Information about object: Inventar_obj
Sprite: Inventar
Solid: false
Visible: true
Depth: 0
Persistent: true
Parent: <no parent>
Mask: <same as sprite>
Create Event:
execute code:
x_position = x - view_xview[0];
y_position = y - view_yview[0];
Mouse Event for Left Released:
if expression instance_exists(zurueck_obj) is not true
set variable global.Turn to 0
execute code:
instance_create(Kontrollpunkt.x+384, Kontrollpunkt.y+320, Boden_Umrandung)
instance_create(Kontrollpunkt.x+656, Kontrollpunkt.y+464, zurueck_obj)
instance_create(Kontrollpunkt.x+400, Kontrollpunkt.y+336, Slot_Boden_frei)
instance_create(Kontrollpunkt.x+528, Kontrollpunkt.y+336, Slot_Boden)
instance_create(Kontrollpunkt.x+656, Kontrollpunkt.y+336, Slot_Boden)
instance_create(Kontrollpunkt.x+400, Kontrollpunkt.y+400, Slot_Boden)
instance_create(Kontrollpunkt.x+528, Kontrollpunkt.y+400, Slot_Boden)
instance_create(Kontrollpunkt.x+656, Kontrollpunkt.y+400, Slot_Boden)
instance_create(Kontrollpunkt.x+400, Kontrollpunkt.y+464, Slot_Boden)
instance_create(Kontrollpunkt.x+528, Kontrollpunkt.y+464, Slot_Boden)
if expression global.player_play == 1 is true
for all Player1: if at relative position (0,0) there is object Schwert
for all Slot_Boden_frei: change the instance into object Schwert_Boden, not performing events
if expression instance_exists (Slot_Boden_frei) is not true
if expression instance_exists (Slot_Boden) is true
for all Jumper_Boden: move to position (Slot_Boden.x,Slot_Boden.y)
if expression global.player_play == 2 is true
for all Player2: if at relative position (0,0) there is object Schwert
for all Slot_Boden_frei: change the instance into object Schwert_Boden, not performing events
if expression instance_exists (Slot_Boden_frei) is not true
if expression instance_exists (Slot_Boden) is true
for all Jumper_Boden: move to position (Slot_Boden.x,Slot_Boden.y)
if expression global.player_play == 3 is true
for all Player3: if at relative position (0,0) there is object Schwert
for all Slot_Boden_frei: change the instance into object Schwert_Boden, not performing events
if expression instance_exists (Slot_Boden_frei) is not true
if expression instance_exists (Slot_Boden) is true
for all Jumper_Boden: move to position (Slot_Boden.x,Slot_Boden.y)
if expression global.player_play == 4 is true
for all Player4: if at relative position (0,0) there is object Schwert
for all Slot_Boden_frei: change the instance into object Schwert_Boden, not performing events
if expression instance_exists (Slot_Boden_frei) is not true
if expression instance_exists (Slot_Boden) is true
for all Jumper_Boden: move to position (Slot_Boden.x,Slot_Boden.y)
else
set variable global.Turn to 1
for all zurueck_obj: destroy the instance
for all Schwert_Boden: destroy the instance
for all Slot_Boden: destroy the instance
for all Slot_Boden_frei: destroy the instance
for all Boden_Umrandung: destroy the instance
Merke gerade es sieht so untereinander in der Information schon wesentlich hübscher aus als im GM selbst:
Ich verlange es von keinem aber wenn jemand bereits so routiniert in GML ist das er D&D lesen und GML schreiben kann (wie man das zum Beispiel bei deutsch/englisch machen würde) wäre er mir wirklich eine SuperGroßeHilfe!
Viellecht gibt es ja auch den einen oder anderen Kniff um das ganze um die Hälfte zu kürzen, wenn ja wäre ich auch hierfür total dankbar.
Information about object: Inventar_obj
Sprite: Inventar
Solid: false
Visible: true
Depth: 0
Persistent: true
Parent: <no parent>
Mask: <same as sprite>
Create Event:
execute code:
x_position = x - view_xview[0];
y_position = y - view_yview[0];
Mouse Event for Left Released:
if expression instance_exists(zurueck_obj) is not true
set variable global.Turn to 0
execute code:
instance_create(Kontrollpunkt.x+384, Kontrollpunkt.y+320, Boden_Umrandung)
instance_create(Kontrollpunkt.x+656, Kontrollpunkt.y+464, zurueck_obj)
instance_create(Kontrollpunkt.x+400, Kontrollpunkt.y+336, Slot_Boden_frei)
instance_create(Kontrollpunkt.x+528, Kontrollpunkt.y+336, Slot_Boden)
instance_create(Kontrollpunkt.x+656, Kontrollpunkt.y+336, Slot_Boden)
instance_create(Kontrollpunkt.x+400, Kontrollpunkt.y+400, Slot_Boden)
instance_create(Kontrollpunkt.x+528, Kontrollpunkt.y+400, Slot_Boden)
instance_create(Kontrollpunkt.x+656, Kontrollpunkt.y+400, Slot_Boden)
instance_create(Kontrollpunkt.x+400, Kontrollpunkt.y+464, Slot_Boden)
instance_create(Kontrollpunkt.x+528, Kontrollpunkt.y+464, Slot_Boden)
if expression global.player_play == 1 is true
for all Player1: if at relative position (0,0) there is object Schwert
for all Slot_Boden_frei: change the instance into object Schwert_Boden, not performing events
if expression instance_exists (Slot_Boden_frei) is not true
if expression instance_exists (Slot_Boden) is true
for all Jumper_Boden: move to position (Slot_Boden.x,Slot_Boden.y)
if expression global.player_play == 2 is true
for all Player2: if at relative position (0,0) there is object Schwert
for all Slot_Boden_frei: change the instance into object Schwert_Boden, not performing events
if expression instance_exists (Slot_Boden_frei) is not true
if expression instance_exists (Slot_Boden) is true
for all Jumper_Boden: move to position (Slot_Boden.x,Slot_Boden.y)
if expression global.player_play == 3 is true
for all Player3: if at relative position (0,0) there is object Schwert
for all Slot_Boden_frei: change the instance into object Schwert_Boden, not performing events
if expression instance_exists (Slot_Boden_frei) is not true
if expression instance_exists (Slot_Boden) is true
for all Jumper_Boden: move to position (Slot_Boden.x,Slot_Boden.y)
if expression global.player_play == 4 is true
for all Player4: if at relative position (0,0) there is object Schwert
for all Slot_Boden_frei: change the instance into object Schwert_Boden, not performing events
if expression instance_exists (Slot_Boden_frei) is not true
if expression instance_exists (Slot_Boden) is true
for all Jumper_Boden: move to position (Slot_Boden.x,Slot_Boden.y)
else
set variable global.Turn to 1
for all zurueck_obj: destroy the instance
for all Schwert_Boden: destroy the instance
for all Slot_Boden: destroy the instance
for all Slot_Boden_frei: destroy the instance
for all Boden_Umrandung: destroy the instance
Merke gerade es sieht so untereinander in der Information schon wesentlich hübscher aus als im GM selbst: