Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2023-09-25 21:32:17 -04:00
parent c1b271b363
commit ec287507a1
10074 changed files with 8442145 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
void main()
{
object oCaller = GetLastUsedBy();
object oVoter = GetFirstPC();
vector vPosition;
location lLoc;
string sVoting = "A vote to reset the module has been called. Please say YES or NO to cast your vote, repeating it until you are informed your vote has been registered. You have 20 seconds to decide.";
while(GetIsObjectValid(oVoter))
{
vPosition = GetPosition(oVoter) - Vector(1.0,1.0,0.0);
lLoc = Location(GetArea(oVoter),vPosition,GetFacing(oVoter));
CreateObject(OBJECT_TYPE_CREATURE,"votingbooth",lLoc);
DelayCommand(1.0f,SendMessageToPC(oVoter,sVoting));
oVoter = GetNextPC();
}
DelayCommand(21.0f,SignalEvent(OBJECT_SELF,EventUserDefined(1500)));
}