Jump to content

wait in w3 engine


kucingkucing

Recommended Posts

i like to create mod : 1 gold / second for 10 seconds,

this the script :

exec function add1gold()
{
	var i : int;
	for(i=0; i<10; i+=1)
	{
		thePlayer.GetInventory().AddMoney(1);
		utility.wait; // utility.wait is skyrim/papyrus syntax
	}
}

but i don't know how to make the script wait, the syntax i use is in the skyrim, i hope somebody in here can help me, thanks

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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