15gudasc Posted November 1, 2024 Posted November 1, 2024 I have this snippet of script in a quest stage. Bob has a UseWeapon package that activates successfully when the quest stage triggers. However, when I uncomment the "Bob.Moveto" line, it moves Bob successfully--but stops the UseWeapon package from activating, even if I place a "Bob.EvaluatePackage()" afterward. Any ideas why? It seems I can't move Bob to his house and activate the UseWeapon package... SetObjectiveCompleted(30) Bob.EvaluatePackage() ; Bob.Moveto(BobHouse) Bob.EvaluatePackage() Thanks!
SKKmods Posted November 2, 2024 Posted November 2, 2024 MoveTo() may not fully complete before EvaluatePackage() If the actor is supposed to be 3d loaded (cant remember if EvaluatePackage actually works with unloaded 3d) you can add; Bob.Moveto(BobHouse) Bob.WaitFor3dLoad() (Bob as Actor).EvaluatePackage()
15gudasc Posted November 2, 2024 Author Posted November 2, 2024 Yes! I needed to make this change, and also I needed to uncheck all of the dialogue flags on the UseWeapon package. These things got it working. Thank you!
Recommended Posts