Jump to content

Recommended Posts

Posted

How do I use GetCurrentTime for an ability? I checked that moon enchantment and just copied it to the magic effect of my ability but I don't see the menu no matter the time.

Posted

Not sure about that one but there's a set of globals holding day, hour, etc, called GameHour probably and you can check those with GetGlobalValue.

 

Another thing to note is where you put the condition:

 

> On the magic effect it is checked only when it is first applied to the target

> On the effect window of the ability/enchantment it is checked constantly

 

You'd want the latter so it detects the time change and kicks in.

Posted (edited)

Nice idea with the globals. Neither putting the conditions in the magic effect nor the spell/ability seem to work.

My conditions are GetGlobalValue >= 19 and GetGlobalValue <= 5

 

Edit: Got it. Smaller value needs to be first and the first conditions needs to be OR. Thanks FF!

Edited by Elias555
  • 3 weeks later...
Posted

How can I prevent the player from exiting a dialogue menu? I've already tried checking "Walk Away Invisible In Menu" in the Topic Info settings to no avail.

  • 3 weeks later...
Posted (edited)

How can I prevent the player from exiting a dialogue menu? I've already tried checking "Walk Away Invisible In Menu" in the Topic Info settings to no avail.

EDIT: It seems that this isn't possible at all in the Skyrim engine. I had to use a wacky workaround, registering for frequent updates in a script, checking whether the player has left dialogue with the actor in question, then force the player back into dialogue again. Not perfect but it'll do.

Edited by wormple12
Posted

Allright, my math skills are not at all good enough for this SetPosition/SetAngle matter:

 

I have three actors. I want to move ActorA so that he's positioned right in the middle between ActorB and ActorC, no matter where the two latter are standing (although they are of course inside the same cell). I know I can find the coordinates of ActorB and ActorC with GetPositionX, GetPositionY and GetPositionZ, but can't figure out how to find the center point between those sets of coordinates.

 

Then I want ActorA to change Z angle so that he faces ActorC. For this, I have no idea how to even begin.

 

I hope there's a mathematical genius out there who can help me :) Thanks in advance.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...