the themis Posted May 24, 2005 Share Posted May 24, 2005 I want to make a container that adds gold everyday but I do not know how to script at all. Please please help me! Link to comment Share on other sites More sharing options...
draighox Posted May 25, 2005 Share Posted May 25, 2005 OK, I'll try, though syntax may be wrong. There should be global variable "Hour", "CurrentHour", or something like that. I think, the ID of gold coin is "Gold_001", but I'm not sure. short DoOnce; if ((DoOnce == 0) and (Hour == 1)){"ChestID" -> AddItem, "Gold_001", 100;DoOnce = 1;} if ((DoOnce == 1) and (Hour != 1))DoOnce = 0; Try this. Read the help file, correct the syntax and it should work. Link to comment Share on other sites More sharing options...
ThetaOrionis01 Posted May 25, 2005 Share Posted May 25, 2005 Read 'Scripting for Dummies' - it's the best scripting tutorial/reference I know of. Having a look at some of the timer scripts in Morrowind might also be helpful. Link to comment Share on other sites More sharing options...
the themis Posted May 25, 2005 Author Share Posted May 25, 2005 Do you know a link to a copy of scripting for dummies becaseu I can only find v6-v8. Thanks Link to comment Share on other sites More sharing options...
Kevin Woodman Posted May 25, 2005 Share Posted May 25, 2005 You might try this, it's supposed to add 100 gold per day.begin SCRIPTNAME short currentday if ( currentday != day ) set currentday to day "containerID"->additem "gold_001" 100 endif end Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.