Results 1 to 3 of 3
  1. #1
    Joshcarr2006's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    ☠☆★☆★☆☠
    Posts
    11,015
    Reputation
    917
    Thanks
    2,901
    My Mood
    Lurking

    Help with script.

    I need help with this game I'm working on. I have this script that has one of my AI's to follow a way point that I set up for him but when he gets to where I want him he turns around and goes back and keeps doing it over and over. I was wanting to know if you can edit the script for me and make it so when he gets to the last way point he doesn't turn around and goes back.

    Here is the script and thanks if you can.

    ;Triggers

    :waypointstate=0:animate=2,waypointstart
    :waypointstate=3:animate=2,waypointnext
    :waypointstate=4:animate=2,waypointrandom
    :waypointstate=5:animate=2,waypointreverse
    :nearactivatable=0:settarget,activatetarget=2
    :random=20:rotaadrandom=65
    :shotdamage=1:settarget,state=2

    :state=2:rotatetotarget,rotatey=180,resethead,wayp ointstop,animate=5,state=3
    :state=3:runfore=10
    :state=3,random=5:rotaadrandom=85
    :state=3,losetarget=10:state=10
    :state=3,plrcanbeseen:settarget,state=2

    :state=10:timerstart,state=11,rotatey=180,animate= 31
    :state=11,timergreater=5000:state=0,animate=2,wayp ointstart
    :state=11,random=5:rotaadrandom=35

    ;End of Script
    [IMG]https://i30.photobucke*****m/albums/c335/Joshcarr2006/tumblr_lz1nrntuZf1qdxcglo1_500_zps0388a33f.gif[/IMG]

  2. #2
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    What's this for?
    And what did you code this in?

  3. #3
    Joshcarr2006's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    ☠☆★☆★☆☠
    Posts
    11,015
    Reputation
    917
    Thanks
    2,901
    My Mood
    Lurking
    Note pad and it's for a game I'm working on. I don't need help any more I got it to where he stops when he gets to the end of the way point.
    [IMG]https://i30.photobucke*****m/albums/c335/Joshcarr2006/tumblr_lz1nrntuZf1qdxcglo1_500_zps0388a33f.gif[/IMG]

Similar Threads

  1. Need A little help with Scripting, bot
    By kagome in forum Vindictus Help
    Replies: 4
    Last Post: 07-23-2011, 08:23 AM
  2. [HELP]Help with VBS scripts[Solved]
    By GBot! in forum Visual Basic Programming
    Replies: 4
    Last Post: 01-29-2011, 07:40 AM
  3. Help with scripts
    By Deceber in forum RuneScape Discussions
    Replies: 5
    Last Post: 11-17-2010, 04:41 PM
  4. help with script
    By rangg in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 8
    Last Post: 11-04-2010, 09:36 AM
  5. help with writing a script to an aimbot
    By Grim in forum Combat Arms Hacks & Cheats
    Replies: 9
    Last Post: 08-18-2009, 10:05 PM