Results 1 to 4 of 4

Thread: Scripting zero movement points

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Scripting zero movement points

    Okay, I'm making a script for historical persons spawning, some with an army.

    However, they tend to move around a lot.

    So with the help of the console_command thingie, I've done like this:

    console_command give_trait "Somerandomname" Immovable 1

    Trait name shamelessly stolen from TIC.

    Anyhow, the trait itself works fine, the problems however, is big!

    Let's say it's Hannibal Barca spawning. He'll spawn during Carthage's turn, and then he'll move around a bit. When my turn starts, playing the Romans, he'll have the negative movement bonus, and can as such not move an inch. However, when my turn starts, he's moved to a completely new place than the place I wanted him to spawn.

    Is there a way to make him stay at his designated spawn point, without being able to move?

  2. #2

    Default Re: Scripting zero movement points

    How about repositioning him wherever you want at the end/start of each turn?

  3. #3

    Default Re: Scripting zero movement points

    By using:

    reposition_character Hannibal Barca, 45, 31

    ?

  4. #4

    Default Re: Scripting zero movement points

    Yep (or with move_character), and you can replenish his MP afterwards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •