0

can someone plz help me with my game script been working on it 2 weeks still cant get it right should be bout done though ty

SetActiveWindow Naruto New Flames 2.8
constants
  k1 = 0
  uparrow = 1
  leftarrow = 2
  rightarrow = 3
  downarrow = 4
End
loadRGB 271, 231
compute downarrow = Int( {RGBred} * (1 - (150/255)) + 230 * (150/255) + .49 )


loadRGB 271, 221
compute uparrow = Int( {RGBred} * (1 - (150/255)) + 230 * (150/255) + .49 )

loadRGB 277, 277
compute rightarrow = Int( {RGBred} * (1 - (150/255)) + 230 * (150/255) + .49 )


loadRGB 265, 226
compute leftarrow = Int( {RGBred} * (1 - (150/255)) + 230 * (150/255) + .49 )
Loop 500000
  Call Meditate
  Call Rest
End
Procedure Meditate
  delay 500
  Keys m
  Delay 3000
  Loop 70000
    GetRed 271, 221 = $uparrow
      if $k1 = 1
      Else
        keys {up}
        set k1 = 1
        Delay 200
      end
    End

    GetRed 265, 226 = $leftarrow
      if $k1 = 2
      Else
        keys {left}
        set k1 = 2
        Delay 200
      end
    End

    GetRed 271, 231 = $downarrow
      if $k1 = 3
      Else
        keys {down}
        set k1 = 3
        Delay 200
      end
    End

    GetRed 277, 277 = $rightarrow
      if $k1 = 4
      Else
        keys {right}
        set k1 = 4
        Delay 200
      end
    End
  End
  MousePos 257, 96
  MousePos 257, 89
End
Procedure Rest
  GetRed 331, 313 = 35
    keys m
    delay 1000
  end
  Delay 1000
  Keys i
  Delay 1000
  Keys t
  Delay 25000
  Keys t
End

Edited by Nick Evan: Fixed formatting

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by nssltd
0

First of all do not name your post's title anything like 'plz help me' put the topic title as something relevant to the problem your facing. Second wrap all code in the CODE-tags. Lastly give more information. For example you havent even specified which script your using. IE Unreal script.

Please rectify those problems and perhaps we can aspire to help you.

Edited by mike_2000_17: Fixed formatting

0

did i? ohhh. Sorry i failed slightly... :( It was towards the top of the game development section and i forgot to check. sorry again.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.