Announcement

Collapse
No announcement yet.

Help with Scripting

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

    Help with Scripting

    I'm trying to write a script that allows my main character and leader of the party and ONLY my main character and leader of the party to be able to change classes via the class change list. Here is my script, minus the parts i can't figure out:

    Text: Message "Will you change desciplines?"
    Input: Multiple Choice 2 (10, 12) "yes" "no"
    Script Branch: Condition: Variable [User Choice] = 1
    <------(I can't figure out what goes here)
    Data: Get Member Name
    Text Content: Input Display [Common Name]
    Text: Message "Would like to be which descipline?"
    Input: Class Change List
    Text: Clear Message
    Data: Get Member Name
    Text: Content: Input: Display [Common Name]
    Text: Message "is now a"
    <-------(I can't figure out what goes here)
    Data: Member Info: Load
    Data: Class Name
    Text: Content: Input: Display [Common Name]
    Text: Message "!"
    Target: Data: (5 slots) Remove
    Text: Message "since"
    Data: Get Member Name
    Text content: Input: Display [common name]
    Text: Message "changed disciplines"
    Script: Condition End

    Hopefully there is enough here for someone to help me out without having to go to another source to figure out what my problem is. Remember i need the script to only allow for my main character (the party leader) to be able to choose a different class. If it allows the player to be able to change classes for any of the other party members i can't use it in my game.

    #2
    Re: Help with Scripting

    Make a starting condition which checks the Leader's Member Database Number.

    If it does not match, then have the class clerk tell them they are classless and need to go back to class changing class.

    Or whatever.

    Was that clear??

    I hope it helps.

    Good Luck with it.

    Peace.

    MOO!




    Comment


      #3
      Re: Help with Scripting

      Code:
      -Variable "Member Order" = 0
      -Data>Use Member Order
      -Condition: Variable "Member Number" =/(DOESN'T EQUAL) [whatever number that corresponds to the main character in the party member database]
      *whatever warning message goes here
      -Force Script End
      -Condition End
      *class changing script
      That should be at the top of your script.
      Quote of the moment - "When you cut down a tree, don't stand near it."

      Comment


        #4
        Re: Help with Scripting

        Yes very clear, thank you very much. I did try loading use member order once, but it woudln't work right, probably because i didn't end the script like you suggested - so i think that's what my problem was.

        Comment

        Working...
        X