Thread Tools Display Modes
Prev Previous Post   Next Post Next
02/19/23, 03:26 PM   #1
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 245
Question rotate an image while incombat

Looking for some help rotating an image like an hourglass while in combat.. Ive tried many WHILE and IF setups but every one freezes the game.

Im looking basically to do this :

Code:
zo_callLater(function() TeleportHourglass:SetTransformRotationZ(math.rad(45)) end, effectDelay)-- test
the entire time before this executes when combat ends:

Code:
EVENT_MANAGER:RegisterForEvent("RidinDirty", EVENT_PLAYER_COMBAT_STATE, RidinDirty.TeleportQueue)

Basically im looking to be able to repeat the following or something similarly effective, looped until combat ends and then jump to new code:
Code:
zo_callLater(function() TeleportHourglass:SetTransformRotationZ(math.rad(45)) end, effectDelay)-- test

Last edited by sinnereso : 02/19/23 at 03:29 PM.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » rotate an image while incombat


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off