Is there a code that would say...
After the frame comes up, if a hotspot is clicked within a second it goes to this frame, and if they click it between 1.1 and 1.9 seconds it goes to another frame, and have 4 or 5 of these.
Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
Time1 = Time
Time2 = Time
Q = DateDiff("s",Time1,Time2)
If Q < 1 then Action.GoToFrame"Frame1" : Inv = 1
If Inv = 0 Then If Q < 2 then Action.GoToFrame"Frame2" : Inv = 1
If Inv = 0 Then If Q < 3 then Action.GoToFrame"Frame3" : Inv = 1
If Inv = 0 Then If Q < 4 then Action.GoToFrame"Frame4" : Inv = 1
If Inv = 0 Then If Q < 5 then Action.GoToFrame"Frame5" : Inv = 1
ACtion.CreateTimedEvent 0.1 Time=Time+1
If (Time/10)<1.1 Then
Action.GotoFrame "firstframe"
else if (Time/10)<1.9 Then
Action.GotoFrame "Secondframe"
etc...
End IF
End If
Return to Adventure Maker General Discussion
Users browsing this forum: No registered users and 0 guests