Battledale_PRC8/_module/nss/sc_fx_say_odor2.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

13 lines
425 B
Plaintext

void main()
{
object oMySpeaker = GetLastSpeaker();
object oMyTarget = GetLocalObject(oMySpeaker, "dmfx_wandtarget");
location lTargetLoc = GetLocalLocation(oMySpeaker, "dmfx_wandloc");
object oSpeaker = CreateObject(OBJECT_TYPE_PLACEABLE, "speaker_item", lTargetLoc, FALSE);
DelayCommand(0.5, AssignCommand( oSpeaker, ActionSpeakString ("A strange odor hangs in the air")));
DelayCommand(3.0, DestroyObject(oSpeaker));
}