Allen Harris Posted February 5, 2024 Posted February 5, 2024 (edited) Hey all, I'm stepping into modding and finally got a basic mod that creates and assigns a spell to the player. I'm now trying to figure out how to trigger devious devices to equip ... well, anything. As proof of concept. How would I go about doing that? I've included the PSC files from the Devious Devices 7z file's scripts directory in the Data/Source/Scripts game directory, and made sure to load all the devious device mods in Creation Kit. But I'm not sure what to do from here. SKSE is working in Creation Kit, I already established that. Thanks. Edit: I got it! Wow, that was a pain, finding all those scripts and getting the references correct. I had to use deviously cursed loot's libs source to figure out how to implement it in code, but I made a spell that locks a specified devious device on a user. I would still like to know if there's any documentation on Devious Devices. Fumbling through zadLibs.psc was pretty confusing. Edited February 6, 2024 by Allen Harris
phalancks Posted February 5, 2024 Posted February 5, 2024 https://www.youtube.com/@SkyrimScripting/playlists
Allen Harris Posted February 5, 2024 Author Posted February 5, 2024 9 hours ago, phalancks said: https://www.youtube.com/@SkyrimScripting/playlists Thanks, but that's actually what I'm using right now. I haven't gotten to a part yet that I could use for devious devices.
Allen Harris Posted February 6, 2024 Author Posted February 6, 2024 Okay, so I've got all the references working. Damn that's a lot of scripts to track down lol. And I tried this: Scriptname HelloModSpellEffectScript extends activemagiceffect Event OnEffectStart(Actor Target, Actor Caster) Debug.MessageBox("Is Valid Whatever: " + zadclibs.IsValidActor(Caster)) EndEvent But it tells me: cannot call the member function IsValidActor alone or on a type, must call it on a variable Is there some code documentation as to how to use Devious Devices?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now