Thread Tools Display Modes
Prev Previous Post   Next Post Next
03/22/15, 02:19 AM   #1
manavortex
 
manavortex's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 138
Calling private functions

Greetings lovely people,

I would like to call a private function - ToggleWalk in this case. I've done my bit of Googling, but I haven't found any way to solve this yet. Any ideas how I can do this?

As to what for - I'm a roleplayer, as you might know. That means I'm walking around all the time. Problem is, whenever I tab back out and then back in, or travel via wayshrine, I am switched back from walk to run, and it's annoying as Oblivion.

What I want to do is, I want to create an addon that sets a variable. As long as the variable is checked, it is supposed to listen to events and ToggleWalk() on event for me.

Any ideas? Or is it just not possible?

regards
manavortex
(I am working now, that's why I'm so quiet, and so unproductive)
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Calling private functions


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