HeirOfTheSeptims Posted November 18, 2016 Share Posted November 18, 2016 (edited) So I made a Script (Its kind of long): SCRIPT REDACTEDUsed an activator in a move to command, Needed to be an object ref. And I get this output: SCRIPT REDACTED I have used the same command it is complaining about in the same way on another script in the same mod, I cant figure out for the life of me whats wrong. Anybody have any Ideas? Edited November 18, 2016 by HeirOfTheSeptems Link to comment Share on other sites More sharing options...
Groovtama Posted November 18, 2016 Share Posted November 18, 2016 Your moveto parameter needs to be an ObjectReference not an Activator. MoveTo(ObjectReference akTarget, Float afXOffset, Float afYOffset, Float afZOffset, Bool abMatchRotation)Moves this object to the same location as the passed-in reference, offset by the specified amount. Link to comment Share on other sites More sharing options...
HeirOfTheSeptims Posted November 18, 2016 Author Share Posted November 18, 2016 Damn, thanks! I knew I had to just be missing some stupid mistake XD Link to comment Share on other sites More sharing options...
Lisselli Posted November 18, 2016 Share Posted November 18, 2016 There's a way to do it though, but you gotta assign it to a variable. See the magicstormprojectile vanilla script on how that's done. Link to comment Share on other sites More sharing options...
HeirOfTheSeptims Posted November 18, 2016 Author Share Posted November 18, 2016 Ok, so heres another one, If anyone has some Ideas. Im using the StartCombat() Command, which supposedly uses this format:StartCombat(Actor akTarget, bool abPreferredTarget = false) But when I put in a bool to make the target actor the priority target, it gives me this error:too many arguments passed to function Is the CK wiki wrong about being able to use a bool? Also is there some other way to force combat priority? Link to comment Share on other sites More sharing options...
Lisselli Posted November 18, 2016 Share Posted November 18, 2016 That's the Fallout 4 version. Skyrim's version does not have that. Link to comment Share on other sites More sharing options...
Recommended Posts