Ferc Kast Posted December 15, 2007 Share Posted December 15, 2007 I developed a script to open a store, but when I use it only the PC can open the store. That leads me to my question. What, in the following script, would I change to make sure only Bao-Dur could spawn the store indicated? void main() { object oStore = GetObjectByTag("bao_robes"); if (!GetIsObjectValid(oStore)) oStore = CreateObject(OBJECT_TYPE_STORE, "bao_robes", GetLocation(OBJECT_SELF)); if (GetIsObjectValid(oStore)) DelayCommand(0.5, OpenStore(oStore, GetPCSpeaker())); } Thanks in advance. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.