generated from Jaysyn/ModuleTemplate
20 lines
756 B
Plaintext
20 lines
756 B
Plaintext
//this is the little cardgame script for the Orbb
|
|
void main()
|
|
{
|
|
object oDhu = GetObjectByTag("Dhuane");
|
|
object oDris = GetObjectByTag("Drisinil");
|
|
object oBoy1 = GetObjectByTag("DhuanesBoy");
|
|
object oBoy2 = GetObjectByTag("DrisinilsBoy");
|
|
object oPC = GetEnteringObject();
|
|
|
|
if(!GetIsPC(oPC)) return;
|
|
|
|
AssignCommand(oDhu,ActionSpeakString("I raise you 50-"));
|
|
DelayCommand(3.0,AssignCommand(oDris,ActionSpeakString("Company.")));
|
|
DelayCommand(6.0,AssignCommand(oDhu,ActionSpeakString("Get 'em boys!")));
|
|
DelayCommand(7.0,AssignCommand(oBoy1,ActionAttack(oPC,FALSE)));
|
|
DelayCommand(8.0,AssignCommand(oBoy2,ActionSpeakString("Yessum.")));
|
|
DelayCommand(9.0,AssignCommand(oBoy2,ActionAttack(oPC,FALSE)));
|
|
DestroyObject(OBJECT_SELF);
|
|
}
|