A Valuable Lesson
Last night I learned that when I'm trying to get a script that's supposed to fire in the OnEnter event of the area to work, it helps if I actually put the script in the OnEnter event.
Just did a bit of clean-up last night: deleted all the unnecessary NPCs from the palette and then repopulated the area using copies from one blueprint. Added a script for the journal entry, and edited that entry to make it more concise. I may have solved the SetCameraMode issue by using a trigger, but I can't be sure without more testing, since beforehand it was only sometimes dropping into chasecam mode. I was about to change the peasant conversations from a one-liner to a random selection of one-liners, when I realized that the changes I made to the story means they probably aren't necessary. Well, strictly speaking I should have them say one line after the battle and a different line once they start walking, but that's too much work for something that probably won't come up.
I couldn't get a script using OBJECT_SELF to compile last night, but it turns out that may just be a quirk, since the script is working for other people who tested it. Also, I broke down and asked for a script that would count the NPCs left alive and then award XP based on that number. Someone responded, and now having seen the script, there's no way I would have figured it out on my own.
Just did a bit of clean-up last night: deleted all the unnecessary NPCs from the palette and then repopulated the area using copies from one blueprint. Added a script for the journal entry, and edited that entry to make it more concise. I may have solved the SetCameraMode issue by using a trigger, but I can't be sure without more testing, since beforehand it was only sometimes dropping into chasecam mode. I was about to change the peasant conversations from a one-liner to a random selection of one-liners, when I realized that the changes I made to the story means they probably aren't necessary. Well, strictly speaking I should have them say one line after the battle and a different line once they start walking, but that's too much work for something that probably won't come up.
I couldn't get a script using OBJECT_SELF to compile last night, but it turns out that may just be a quirk, since the script is working for other people who tested it. Also, I broke down and asked for a script that would count the NPCs left alive and then award XP based on that number. Someone responded, and now having seen the script, there's no way I would have figured it out on my own.
0 Comments:
Post a Comment
<< Home