This thread is for people who'd like to use the Play as Anyone functionality to create quests, followers, and other exciting stuff. While I welcome you to pm me, we can also talk here.
First, download the master file from the files tab. This is just an esmifyied version of AA, which means you can make your mod dependent on it like any esm file. By using the master you'll be able to access AA functionality, and triggering transformations will be easy.
I'm hoping to write a tutorial, but check this small example out for now:
Fill the AKControlQuestScript property with the quest (you only have one option) and the Partner property with the actor you want the player to become. Then your good to go.
AKControlQuestScript property akquest Auto ;access AA script actor player actor property partner auto ;the player's partner for the quest, who they'll turn into (could use object reference if preferred) ;pretend the below was attatched to the papyrus fragment of a quest stage ;the player flipped the lever, letting the partner into the next room: switch to the partner! ;AKMorphCompleteAKMorphComplete(Actor akdonor, Actor akimposter, Bool duration = False, Float aktime = 0.0) ;the function we'll use player = game.getplayer() akquest.AKMorphComplete(partner, player) ;.... ; after the partner solves the puzzle, it's the quest stage that we should be the player again. ;akrevert(actor akimposter, Bool AKDrainmagic = False) ;the function we'll use akquest.akrevert(player)
Note the two optional paramaters: Duration, and akTime. If duration is set to true, then the transformation will either last for akTime seconds, or if you give no value for akTime, then will last for about 1 second for every point of magicka the player has (so the spell will last around 100 seconds if the player has 100 magicka).
There are also functions for controlling creatures:
AKSimpleMorph(Actor aktarget, Bool akduration = False, Float aktime = 0.0) AKSimpleRevert(Actor aktarget, Bool AKDrainmagic = False)
Feel free to ask me any questions as you work on your mod. When it's done, I'll place a link to it in my description. ![]()
Edited by iceburg, 06 June 2013 - 04:55 PM.



Sign In
Create Account

Back to top









