ZELMOFF Posted April 20, 2015 Posted April 20, 2015 I want to make a script that makes something grow in scale like every 48 in game hours or so. How would I go about doing that? Thanks!
Nephelus Posted April 21, 2015 Posted April 21, 2015 Not sure about time passing but you can use these functions to see or change the scale of an object. http://geck.bethsoft.com/index.php?title=GetScalehttp://geck.bethsoft.com/index.php?title=ModScalehttp://geck.bethsoft.com/index.php?title=SetScale
ZELMOFF Posted April 21, 2015 Author Posted April 21, 2015 @Nephelus Thanks that looks like it might help!
ZELMOFF Posted April 21, 2015 Author Posted April 21, 2015 (edited) So far I have this: scn GrowScript short HasBeenHired Begin Gamemodeif HasBeenHired == 1endifif playerref.isincombatelseGetDayofWeekendifif DayofWeek == 0 (0 means Sunday)Modscale 0.2endifEnd Does anybody have any ideas on how I could improve this/make this work at all? Script validator says that "GetDayofWeek" has a return value that is not being used and that local variable "HasBeenHired" was never assigned a value, but I don't really know what any of that means / : Basically I am trying to get each creature using this script to get 0.2 units bigger each in game Sunday. Edited April 21, 2015 by ZELMOFF
Recommended Posts