Announcement

Collapse
No announcement yet.

Learning Attack

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Learning Attack

    Im trying to make a ability that will be like the "blue mage" systom.
    It would be called "Learning" or "Examine"... or somthing.
    It would be simalar to the "lance" ability in Final Fantasy 10.
    For those who dont know the game, heres how it plays out:
    Charecter: "Uses lance on 'goblin'"
    Goblin: "Loses 45 HP"
    Charecter: "Learns 'goblin punch'"

    Really, its that simple...or diffucult. But if the enemy dosnt have a attack to give (Or already gave one) then the "Learn" part would be cut out. I just want to replace the word "lance" with some other attack name.

    Any help would be apreciated!
    Last edited by Cheesylard; 10-16-2008, 07:11 PM. Reason: Stuff

    Which Final Fantasy Character Are You?
    Final Fantasy 7
    If you can read this you dont need glasses

    #2
    Re: Learning Attack

    what you could do is to allow the character to have the abilities (ie make it so they can learn them but make the level really high) and have a check run after using your "lance" attack to see if a flag is flipped for that ability and if it is not, then the character learns the ability and the flag turns on.

    Im not entirely sure how you would do this, so just hope DW posts.


    TBS is coming shortly... I finally got off my lazy self and contacted Datel, so new Max Drive software is coming thus allowing me to release my TBS.

    Comment


      #3
      Re: Learning Attack

      Set a flag for each ability that can be learned, then sort by the enemy's name. In the Custom slot of the direct effect(or success, however you want to set it up), make a script like this:

      Examine:
      Get enemy name
      Sort by: Input: Common Name
      Apply If: Goblin
      Condition: Flag[Goblin Punch]=Off
      Target Ability:Goblin Punch
      Message:"Character learns Goblin Punch!"
      Flag[Goblin Punch]=On
      SC:End
      To End
      SB:End

      Repeat Apply Ifs and Conditions for every enemy ability you want available. Of course this system only works for one character. If you want it to be available to all characters, a variable for each ability might be neccessary.
      24 is the highest number there is.

      Comment


        #4
        Re: Learning Attack

        Thanks, this is exactly what I needed!

        Which Final Fantasy Character Are You?
        Final Fantasy 7
        If you can read this you dont need glasses

        Comment

        Working...
        X