Ergebnis 1 bis 5 von 5

Thema: A.I. Moving Script

Hybrid-Darstellung

Vorheriger Beitrag Vorheriger Beitrag   Nächster Beitrag Nächster Beitrag
  1. #1

    A.I. Moving Script

    I'm not new in RPG maker, but I've got a problem. I just can't write a script which moves a character from X-Y coord to X-Y coord and avoid any solid terrain and same level as hero event. I know that I need to use a new terrain type as solid, and use save Event ID use Terrain ID, but it won't work well. DO you have any other idea how to solve this problem in rm2k(3)?

  2. #2
    you just have to compare the hero x/y coordinates with the coordinates ofthe point where to move the hero.
    You make a fork condition checking whether hero x is bigger than the point x
    If yes, then you let the hero walk one step left.
    you copy this one (Hero x smaller then point x -> step right etc)
    And do not forget to click on "ignored if it can't be moved"

  3. #3
    Some ppl asked the same question some times before... but I havn't heard about any successfull script with a "real" AI so far...

    @Beril: I don't think that's the solution of the problem (So umgeht das Event auch keine Mauern ^^).

    ~RB~

  4. #4
    I created the script you need some time ago. (I hope it is what you need ) Here is the link. <click>
    I hope that link works an you can use my script

    Manni

  5. #5
    Well, I dunno how to use this yet. It a mapping script or what, isn't it?

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •