Hi there
Just been playing in Blitz and just wants some advice.
If i have a hero who steps at a certain stops, playing an opening animation, then the door opens, how will i do this.
Before asking, i tried to do this, by following code in my main loop
But it does not work, i just want, when the player enter the 'hotspot' the character stops, and plays an animation, so even if you press up,down,left,right it has no effect, once the animation is finished, then the door creaks open.
For the door i was thinking and tried
But again, i want the door to open, the above code does it fast, i had tried delay command, but thats does not work
Any help will be much appreciated :)
Kind Regards
Just been playing in Blitz and just wants some advice.
If i have a hero who steps at a certain stops, playing an opening animation, then the door opens, how will i do this.
Before asking, i tried to do this, by following code in my main loop
If ((playerx=-287) And (playery=5) And (playerz > 229) And (playerz<250)) Then Animate player_hero,3,10,7 While Animating(player)=0 Then RotateEntity door1,0,90,0 Wend End If
But it does not work, i just want, when the player enter the 'hotspot' the character stops, and plays an animation, so even if you press up,down,left,right it has no effect, once the animation is finished, then the door creaks open.
For the door i was thinking and tried
for door1_number=1 to 90 then RotateEntity door1,door1_number,0 next
But again, i want the door to open, the above code does it fast, i had tried delay command, but thats does not work
Any help will be much appreciated :)
Kind Regards