Danke Linkey, das Event hatte ich glatt vergessen sorry ... ^^" --- EVENT --- Type: Map event Name: EV0965 Coordinates: (0, 2) Number of Pages: 1 -- PAGE 1 -- Start conditions: <None> Sprite: <Tileset> #0 Facing direction: Down Animation frame: Center Transparent: No Trigger condition: Parallel process Event level: Below hero Forbid event overlap: No Animation type: Non-continuous Movement type: Stationary Movement frequency: 3 Movement speed: 3 - SCRIPT - <> Key Input Processing: Var. [9988], Wait until key pressed, Keys: Decision <> Fork Condition: If Variable [9988] == 5 then ... <> Fork Condition: If Hero is facing up then ... <> Move Event: Hero, Frq 8, Pattern: Chg graphic to altermann #0 <> Show Battle Animation: #146, Hero <> Wait: 0,2 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Move Event: Hero, Frq 8, Pattern: Chg graphic to Dryll Schwert #1, Fc up <> Change Variable: [9989] = 1 <> Wait: 0,0 sec. <> : Else ... <> Fork Condition: If Hero is facing right then ... <> Move Event: Hero, Frq 8, Pattern: Chg graphic to altermann #0 <> Show Battle Animation: #145, Hero <> Wait: 0,2 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Move Event: Hero, Frq 8, Pattern: Chg graphic to Dryll Schwert #1, Fc right <> Change Variable: [9989] = 1 <> Wait: 0,0 sec. <> : Else ... <> Fork Condition: If Hero is facing down then ... <> Move Event: Hero, Frq 8, Pattern: Chg graphic to altermann #0 <> Show Battle Animation: #147, Hero <> Wait: 0,2 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Move Event: Hero, Frq 8, Pattern: Chg graphic to Dryll Schwert #1, Fc down <> Change Variable: [9989] = 1 <> Wait: 0,0 sec. <> : Else ... <> Fork Condition: If Hero is facing left then ... <> Move Event: Hero, Frq 8, Pattern: Chg graphic to altermann #0 <> Show Battle Animation: #144, Hero <> Wait: 0,2 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Wait: 0,0 sec. <> Move Event: Hero, Frq 8, Pattern: Chg graphic to Dryll Schwert #1, Fc left <> Change Variable: [9989] = 1 <> Wait: 0,0 sec. <> : End of fork <> : End of fork <> : End of fork <> : End of fork <> : End of fork <> Und hier noch das 2. Gegner Event (das, welches ebenfalls getroffen wird, wenn auch das erste einen "Hit" errechnet) --- EVENT --- Type: Map event Name: Gegner2 Coordinates: (18, 26) Number of Pages: 4 -- PAGE 1 -- Start conditions: <None> Sprite: enemytemple2 #2 Facing direction: Down Animation frame: Center Transparent: No Trigger condition: Push key Event level: Same level as hero Forbid event overlap: No Animation type: Non-continuous Movement type: Random Movement frequency: 6 Movement speed: 1 - SCRIPT - <> Comment: ################################################### <> Comment: Diese Seite ist nicht weiter von Bedeutung. Sie gibt nur das Verhalten des : Puschels wieder, wenn sich der Held nicht in seiner Nähe befindet. <> Comment: ################################################### <> -- PAGE 2 -- Start conditions: Switch [7008] == ON Sprite: enemytemple2 #2 Facing direction: Down Animation frame: Center Transparent: No Trigger condition: Push key Event level: Same level as hero Forbid event overlap: No Animation type: Non-continuous Movement type: Stationary Movement frequency: 8 Movement speed: 3 - SCRIPT - <> Comment: ################################################### <> Comment: Hier ist das Puschel aggressiv und rennt auf den gegner zu, um ihn zu : attackieren. Aber auch hier sind keine Berechnungen. <> Comment: ################################################### <> -- PAGE 3 -- Start conditions: Variable [9989] == 1 Sprite: enemytemple2 #2 Facing direction: Down Animation frame: Center Transparent: No Trigger condition: Parallel process Event level: Same level as hero Forbid event overlap: No Animation type: Non-continuous Movement type: Stationary Movement frequency: 3 Movement speed: 3 - SCRIPT - <> Fork Condition: If Switch [7003] == OFF then ... <> Change Variable: [6001] = X position on map (tiles) of hero <> Change Variable: [6002] = Y position on map (tiles) of hero <> Change Variable: [6003] = V[6001] <> Change Variable: [6004] = V[6002] <> Change Variable: [7021] = X position on map (tiles) of this event <> Change Variable: [7022] = Y position on map (tiles) of this event <> Fork Condition: If Hero is facing right then ... <> Change Variable: [6003] += 1 <> Fork Condition: If Variable [6003] == V[7021] then ... <> Flash Event: This event, (R31, G0, B0, S31), 0,5 sec. <> Move Event: This event, Frq 6, Pattern: Chg graphic to enemytemple2 #1, Lock fc, Play SE damage2 V100 T100 B50, Mv away f. hero, Unlock fc, Chg graphic to enemytemple2 #2 <> Wait: 0,2 sec. <> Call Event: Common Event #7 <> Change Variable: [9985] -= V[7024] <> Change Variable: [7023] -= V[9985] <> Change Variable: [9989] = 0 <> : End of fork <> : End of fork <> Fork Condition: If Hero is facing left then ... <> Change Variable: [6003] -= 1 <> Fork Condition: If Variable [6003] == V[7021] then ... <> Flash Event: This event, (R31, G0, B0, S31), 0,5 sec. <> Move Event: This event, Frq 6, Pattern: Chg graphic to enemytemple2 #1, Lock fc, Play SE damage2 V100 T100 B50, Mv away f. hero, Unlock fc, Chg graphic to enemytemple2 #2 <> Wait: 0,2 sec. <> Call Event: Common Event #7 <> Change Variable: [9985] -= V[7024] <> Change Variable: [7023] -= V[9985] <> Change Variable: [9989] = 0 <> : End of fork <> : End of fork <> Fork Condition: If Hero is facing down then ... <> Change Variable: [9984] += 1 <> Fork Condition: If Variable [9984] == V[7022] then ... <> Flash Event: This event, (R31, G0, B0, S31), 0,5 sec. <> Move Event: This event, Frq 6, Pattern: Chg graphic to enemytemple2 #1, Lock fc, Play SE damage2 V100 T100 B50, Mv away f. hero, Unlock fc, Chg graphic to enemytemple2 #2 <> Wait: 0,2 sec. <> Call Event: Common Event #7 <> Change Variable: [9985] -= V[7024] <> Change Variable: [7023] -= V[9985] <> Change Variable: [9989] = 0 <> : End of fork <> : End of fork <> Fork Condition: If Hero is facing up then ... <> Change Variable: [9984] -= 1 <> Fork Condition: If Variable [9984] == V[7022] then ... <> Flash Event: This event, (R31, G0, B0, S31), 0,5 sec. <> Move Event: This event, Frq 6, Pattern: Chg graphic to enemytemple2 #1, Lock fc, Play SE damage2 V100 T100 B50, Mv away f. hero, Unlock fc, Chg graphic to enemytemple2 #2 <> Wait: 0,2 sec. <> Call Event: Common Event #7 <> Change Variable: [9985] -= V[7024] <> Change Variable: [7023] -= V[9985] <> Change Variable: [9989] = 0 <> : End of fork <> : End of fork <> : End of fork <> Wait: 0,0 sec. <> -- PAGE 4 -- Start conditions: Switch [7003] == ON Sprite: SOMchars2 #2 Facing direction: Down Animation frame: Center Transparent: No Trigger condition: Push key Event level: Same level as hero Forbid event overlap: No Animation type: Fixed graphic Movement type: Stationary Movement frequency: 3 Movement speed: 4 - SCRIPT - <> Show Message: : Hier passiert dann was <>
Foren-Regeln