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.
This commit is contained in:
21
_module/nss/jw_mobtransf_usd.nss
Normal file
21
_module/nss/jw_mobtransf_usd.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
int nEvent = GetUserDefinedEventNumber();
|
||||
|
||||
if (nEvent == 50)
|
||||
|
||||
{
|
||||
if (GetLocalInt(OBJECT_SELF,"triggered")==TRUE)
|
||||
{
|
||||
object oWP=GetNearestObjectByTag("jw_newtranstrig_wp");
|
||||
string sTarget=GetTrapKeyTag(OBJECT_SELF);
|
||||
CreateObject(OBJECT_TYPE_PLACEABLE,sTarget,GetLocation(oWP));
|
||||
SetLocalInt(OBJECT_SELF,"triggered",FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user