15gudasc Posted November 1, 2024 Share 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! Link to comment Share on other sites More sharing options...
SKKmods Posted November 2, 2024 Share 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() Link to comment Share on other sites More sharing options...
15gudasc Posted November 2, 2024 Author Share 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! Link to comment Share on other sites More sharing options...
Recommended Posts