Initial upload.

Adding base PRC 4.19a files to repository.
This commit is contained in:
Jaysyn904
2022-10-07 13:51:24 -04:00
parent 646eb01834
commit 1662218bb4
22441 changed files with 1274376 additions and 0 deletions

19
trunk/smp/0_wishtest2.nss Normal file
View File

@@ -0,0 +1,19 @@
void main()
{
// Spawn in "genie"
SetListening(OBJECT_SELF, TRUE);
SetListenPattern(OBJECT_SELF, "**", 0);
SetFacingPoint(GetPosition(GetFirstPC()));
ActionSpeakString("You can speak your wish sir");// Never appers
SendMessageToPC(GetFirstPC(), "Wish debug: Spawn");
effect eTime = EffectTimeStop();
// 4 seconds too long
// 1 second too little, by a small margin.
// 1.5 should be fine
DelayCommand(1.5, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eTime, OBJECT_SELF));
}