Jump to content

How to script something to grow?


ZELMOFF

Recommended Posts

So far I have this:

 

scn GrowScript

 

short HasBeenHired

 

Begin Gamemode

if HasBeenHired == 1

endif

if playerref.isincombat

else

GetDayofWeek

endif

if DayofWeek == 0 (0 means Sunday)

Modscale 0.2

endif

End

 

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 by ZELMOFF
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...