Initial upload
Initial upload.
This commit is contained in:
16
_module/nss/pwchest_replace.nss
Normal file
16
_module/nss/pwchest_replace.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void CreateThing(string sTemplate, int type, location locHere)
|
||||
{
|
||||
CreateObject(type, sTemplate, locHere);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
string tag;
|
||||
location loc;
|
||||
int what=GetObjectType(OBJECT_SELF);
|
||||
|
||||
tag=GetTag(OBJECT_SELF);
|
||||
loc=GetLocation(OBJECT_SELF);
|
||||
AssignCommand(GetArea(OBJECT_SELF), DelayCommand(20.0,CreateThing(tag,what,loc)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user