Face object without smartseek

Help bring our custom Ages to life! Share tips and tricks, as well as code samples with other developers.
Post Reply
User avatar
sinkillerj
Posts: 7
Joined: Mon Oct 04, 2010 7:02 pm

Face object without smartseek

Post by sinkillerj »

I am trying to recreate the casting of MagiQuest Online, using the following code everything is perfect however the avatar does not turn to face the object. Is there a way to do the animation in place and still turn to face the object?

Code: Select all

CastObjectOneShot:
    logic:
        actions:
          - type: oneshot
            name: CastObjectOneShot
            oneshot:
                animation: CastMedium
           smartseek: false
                noseek: true
MagiQuest Community Online Project: http://mqdomain.x10hosting.com/phpBB3/v ... f=18&t=232
Paradox
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada
Contact:

Re: Face object without smartseek

Post by Paradox »

The "rotate" mode used in MagicQuest was added specifically to that version, no versions of Uru have anything that does that. :(

I remember talking to Chogon at some point before it was implemented in MagiQuest, and he said they would need to add support (which they did) for rotate-to-face points.
User avatar
sinkillerj
Posts: 7
Joined: Mon Oct 04, 2010 7:02 pm

Re: Face object without smartseek

Post by sinkillerj »

Hmm hard coded as I feared. Would it be possible with python or otherwise to move the seekpoint to the coordinates of the avatar locally, as well as use math to rotate it to point at the object? It would then have to trigger the oneshot.
MagiQuest Community Online Project: http://mqdomain.x10hosting.com/phpBB3/v ... f=18&t=232
Post Reply

Return to “Scripting”