Xfreakish Posted February 4, 2019 Posted February 4, 2019 So i was trying to create a new script and it keep saying "the extends script does not exist" I looked online and some people said to extract the scrips.rar to the sctips folder witch i did but it's still not working
Evangela Posted February 5, 2019 Posted February 5, 2019 Either you forgot to add the parent script which the script should be extending, or you typoed the parent script's name.
Xfreakish Posted February 5, 2019 Author Posted February 5, 2019 Hey, thanks for the reply. What is a parent script and how do i make one?
Rizalgar Posted February 6, 2019 Posted February 6, 2019 A parent script is just any old script that is referred to by another script, hence making it a 'parent script' and the calling script a 'child script'. Also, make sure that you have the source folder placed in the correct location. The Legendary and Special Editions use two different locations for source scripts. In SSE it's : Skyrim Special Edition\Data\Source\Scripts. Make sure the .psc are put in that scripts folder, with the .pex placed in the folder at Skyrim Special Edition\Data\Scripts.
Evangela Posted February 6, 2019 Posted February 6, 2019 (edited) On 2/5/2019 at 5:48 PM, Xfreakish said: Hey, thanks for the reply. What is a parent script and how do i make one?Scriptname thisScript extends will give an error. Scriptname thisScripts extends SomeScript will give an error if SomeScript doesn't exist. Scriptname thisScript extends Actors will give an error because there's no Actors script, when it should be Actor. The above poster gave you the run down of parent script, but to give an example.. Scriptname thisScript extends ObjectReference means this script is going to be a child of ObjectReference and is allowed to use member functions/events of that script. Edited February 6, 2019 by Rasikko
Recommended Posts