Addon Help: Restoring player control after changeLevelReal

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
isaacssv552
Wayist
Posts: 25
Joined: Thu Mar 12, 2015 11:12 pm

Addon Help: Restoring player control after changeLevelReal

#1 Post by isaacssv552 »

I'm trying to get the Fortress Flight working. I've got it mostly working and can move into and out of orbit. However, whenever I move into/out of orbit (a simple matter of calling changeLevelReal) the player gets messed up and it becomes impossible to properly transfer control to them, messing up the GETOUT talent. When I use the lua console to directly set it as the current player my controls are frozen , my cpu usage skyrockets, and the day/night cycle goes by at a rate of about once a second. I've looked through the lua records for the player and party but cannot find the issue.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Addon Help: Restoring player control after changeLevelRe

#2 Post by HousePet »

It sounds like the player actor doesn't actually exist on the map.

Check my Arcanum addon for the Golem Refuge talent. It removes the player actor and restores it at a later time safely.
My feedback meter decays into coding. Give me feedback and I make mods.

isaacssv552
Wayist
Posts: 25
Joined: Thu Mar 12, 2015 11:12 pm

Re: Addon Help: Restoring player control after changeLevelRe

#3 Post by isaacssv552 »

HousePet wrote:It sounds like the player actor doesn't actually exist on the map.

Check my Arcanum addon for the Golem Refuge talent. It removes the player actor and restores it at a later time safely.
This worked. Thanks!

Post Reply