characters issues

  • #1, by adventure4lifeTuesday, 15. August 2017, 08:03 3 years ago
    Hi there,
    i am using Visionaire 4.25 i have some questions regardings moving characters (for example chasing character):
    1. how do i set hotspot on a moving character so my hotspot finder can see it? (for scene object i set it under effects->animation)
    2. how to prevent my character from moving closer to another moving character?
    3. how can i check if character is in range of other character\object (you can assume the range is a predefined value)
    4. there is a way to change name of character\object in run time ?

    i am assuming that all the answers for my questions can be written in Lua script,
    but there is a way to do this without script? if not, please give me some lead please..

    Thanks

    Newbie

    2 Posts


  • #2, by SimonSFriday, 18. August 2017, 13:27 3 years ago
    Hi,

    1. characters have no snoop animation, most games do this by having an object to display the snoop animation. You could move this around via lua and ObjectOffset, if it's really needed.

    2. Not possible currently. That's why  most game will not have moving characters that are interactible.

    3. Why would you need to do that ? If you really need that, you can calculate it via lua and lua position, else use action areas and fixed character positions.

    4. Via lua, character[""].Name with another Textobject.

    As you read moving npcs are painful to implement.

    Thread Captain

    1368 Posts

Write post