-
Posts
469 -
Joined
-
Last visited
-
Days Won
1
xkkmEl last won the day on July 19 2024
xkkmEl had the most liked content!
Nexus Mods Profile
About xkkmEl
Recent Profile Visitors
xkkmEl's Achievements
Rising Star (9/14)
24
Reputation
-
Attaching script to npc using reference alias
xkkmEl replied to Hector0818's topic in Skyrim's Creation Kit and Modders
The alias will remain filled when the NPC dies. It just can't be dead when filling the alias (at Quest start) unless you flag "allow dead". Your alias fill conditions though will grab any random object in the player's immediate vicinity when the quest starts. You likely want to use the "specific reference" fill type instead and select your target NPC. If you want ANY npc's death to be detected, that's a tougher job. It can't be done through the alias mechanism. You may also want to share details on how the quest is started... aliases are filled when the quest starts... so that won't work if you don't, or do it at the wrong time. In game, use the console's "sqv myquest" command to check on the quest's status (started or not) and what got filled in the alias. -
Many ways of doing it. Here's one: Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer) If akNewContainer == PlayerREF && playerREF.getItemCount( ItempieceX) && playerREF.getItemCount( ItempieceY) && playerREF.getItemCount( ItempieceW) && playerREF.getItemCount( ItempieceZ) MyQuest.SetStage(10) EndIf EndEvent
-
Changing a Guard's Appearance - How?
xkkmEl replied to LevisageDeDior's topic in Skyrim's Creation Kit and Modders
Well, ok. I underuse this "all" category in the CK. In my defense, it still misses idles, cells, worldspaces and object references. -
[LE] Quick Questions, Quick Answers
xkkmEl replied to Elias555's topic in Skyrim's Creation Kit and Modders
Tested it again on my end, and it does appear to work: 1- Delete the script .pex and .psc 2- Launch CK, blank out the fragment boxes, then remove the script, and save and exit. 3- Re-delete the script .pex and .psc (not sure how/why they reappeared). 4- Load it up once more in the CK. 5- Create new content for the fragment boxes, and save and exit. I'm testing this with the LE version of the CK. If it still don't work... double check the timestamps on your TIF script files and make sure the CK is able to write in the output directory (...\MO2\overwrite in my case). -
Changing a Guard's Appearance - How?
xkkmEl replied to LevisageDeDior's topic in Skyrim's Creation Kit and Modders
Searching in the CK is dicey. You have to guess the type of record you are looking for. You ought to use xEdit to search for reference and form IDs. -
[LE] Quick Questions, Quick Answers
xkkmEl replied to Elias555's topic in Skyrim's Creation Kit and Modders
I think you just need to blank out the two fragments before removing the script in the CK. Delete ";CODE NOT LOADED", then hit the remove button. Or maybe I didn't test this fully enough... -
Daedric Reaper Armor Upgrade
xkkmEl replied to MirandaKusland's topic in Skyrim's Creation Kit and Modders
That likely is because of a body slot mismatch between the Armor and its component AddOns. -
Trying to get dialogue to trigger
xkkmEl replied to doctorzero0's topic in Skyrim's Creation Kit and Modders
A few things to check: Dialogue's quest is running. You are using a top-level branch in the player dialogue tab. Make it work with that first; you can change it after. Remove all conditions (from the quest's data tab, and in the topic info). This should make the dialogue work for everyone. If it works for everyone, except your target NPC, it must be because your NPC is in a exclusive or blocking branch from somewhere else. If it does not show for anyone, keep looking for conditions to remove! -
Check the priority of the quest that puts the alias AI. It needs to beat all other quest-installed packages. Most default packages just do the one activation, then invalidate themselves. Try making a custom AI package that explicitly loops, or keeps him confined in a narrow sandbox. The CK wiki says it like the package will replay as long as it is the top valid package, but I have found that inconsistent and I am unsure of when or why it fails and succeeds. Looping (with a repeating sequence branch) works best for me.
- 5 replies
-
- ai package
- ai packages.
-
(and 4 more)
Tagged with:
-
Not the expert on AI packages... I just use various aliases and move my NPCs from alias to alias, each with it's AI package. So, in your shoes, I'd set up a script that wakes up when it's time to change mode, and move the NPC into a new alias, and use moveto to teleport him where he needs to be (since you want a 'teleport').
- 5 replies
-
- ai package
- ai packages.
-
(and 4 more)
Tagged with:
-
identify the (xx) load order number for baseIds
xkkmEl replied to Good0Provider's topic in Skyrim's Creation Kit and Modders
To second Scorrp10's answer, there are no facilities within papyrus to go from a string to an object or reference, with the exception of Quest.getQuest and Keyword.getKeyword. For everything else, you have to build your own dictionaries.