Warum ist dieser Code falsch?
Ich mache ein Spiel mit Zaubern und man soll z.B Launo eingeben um obj_player2 zu werden(also instance_change)
Eingabetaste-Event von obj_player1
Ich weiß nicht was falsch sein könnte... er sagt nur:
Spoiler anzeigen
___________________________________________
FATAL ERROR in
action number 1
of Keyboard Event for <Enter> Key
for object obj_player1:
COMPILATION ERROR in code action
Error in code at line 9:
instance_change(obj_player2, 0)
at position 2: Assignment operator expected.
??? Bitte hilfe!
Ich mache ein Spiel mit Zaubern und man soll z.B Launo eingeben um obj_player2 zu werden(also instance_change)
Eingabetaste-Event von obj_player1
Ich weiß nicht was falsch sein könnte... er sagt nur:
___________________________________________
FATAL ERROR in
action number 1
of Keyboard Event for <Enter> Key
for object obj_player1:
COMPILATION ERROR in code action
Error in code at line 9:
instance_change(obj_player2, 0)
at position 2: Assignment operator expected.
??? Bitte hilfe!
