Major update
Created top hak for crafting dialog. Moved Bioware creature abilities to top hak. Fixed DMFI wand handouts. Added DMFI language handouts. Added CCOH 6. Disabled PC corpse system. Modified new player startup system. Full compile. Updated release archive.
This commit is contained in:
33
_module/nss/mk_inc_ipwrkcntn.nss
Normal file
33
_module/nss/mk_inc_ipwrkcntn.nss
Normal file
@@ -0,0 +1,33 @@
|
||||
#include "x2_inc_itemprop"
|
||||
#include "mk_inc_vfx"
|
||||
|
||||
object MK_IPGetIPWorkContainer(object oCaller = OBJECT_SELF)
|
||||
{
|
||||
object oRet = GetObjectByTag(X2_IP_WORK_CONTAINER_TAG);
|
||||
if (oRet == OBJECT_INVALID)
|
||||
{
|
||||
oRet = CreateObject(OBJECT_TYPE_PLACEABLE,X2_IP_WORK_CONTAINER_TAG,GetLocation(oCaller));
|
||||
|
||||
// effect eInvis = EffectVisualEffect( VFX_DUR_CUTSCENE_INVISIBILITY);
|
||||
// eInvis = ExtraordinaryEffect(eInvis);
|
||||
// ApplyEffectToObject(DURATION_TYPE_PERMANENT,eInvis,oRet);
|
||||
if (oRet == OBJECT_INVALID)
|
||||
{
|
||||
WriteTimestampedLogEntry("mk_inc_ipwrkcntn - critical: Missing container with tag " +X2_IP_WORK_CONTAINER_TAG + "!!");
|
||||
}
|
||||
else
|
||||
{
|
||||
MK_VFX_ApplyVisualEffect(VFX_DUR_CUTSCENE_INVISIBILITY, oRet, SUBTYPE_EXTRAORDINARY, DURATION_TYPE_PERMANENT);
|
||||
}
|
||||
}
|
||||
|
||||
return oRet;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
void main()
|
||||
{
|
||||
|
||||
}
|
||||
/**/
|
Reference in New Issue
Block a user