|
NWNX:EE
8193.36.12
|
|
Go to the documentation of this file.
7 const string NWNX_Effect =
"NWNX_Effect";
157 n.
vParam1 = Vector(fX, fY, fZ);
161 n.
vParam0 = Vector(fX, fY, fZ);
280 string sFunc =
"UnpackEffect";
289 string sFunc =
"PackEffect";
299 string sFunc =
"ReplaceEffect";
312 string sFunc =
"GetTrueEffectCount";
321 string sFunc =
"GetTrueEffect";
331 string sFunc =
"ReplaceEffectByIndex";
342 string sFunc =
"RemoveEffectById";
352 string sFunc =
"Apply";
360 string sFunc =
"SetEffectCreator";
372 string sFunc =
"GetIsEffectValid";
383 string sFunc =
"GetAppliedEffectCount";
394 string sFunc =
"GetAppliedEffect";
int NWNX_Effect_RemoveEffectById(object oObject, string sID)
Removes effect by ID.
int NWNX_GetReturnValueInt()
Returns the specified type from the c++ side.
int NWNX_Effect_GetTrueEffectCount(object oObject)
Gets the true effect count.
effect NWNX_GetReturnValueEffect()
Returns the specified type from the c++ side.
int NWNX_Effect_ReplaceEffect(object obj, effect eOld, effect eNew)
replace an already applied effect on an object Only duration, subtype, tag and spell related fields c...
void NWNX_Effect_Apply(effect eEffect, object oObject)
Applys an effect, bypassing any processing done by ApplyEffectToObject.
struct NWNX_EffectUnpacked __NWNX_Effect_ResolveUnpack(string sFunc, int bLink=TRUE)
int NWNX_Effect_GetAppliedEffectCount(object oObject)
Returns the number of applied effects on the given object.
const int DURATION_TYPE_EQUIPPED
struct NWNX_EffectUnpacked NWNX_Effect_UnpackEffect(effect e)
Convert native effect type to unpacked structure.
float NWNX_GetReturnValueFloat()
Returns the specified type from the c++ side.
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
string NWNX_GetReturnValueString()
Returns the specified type from the c++ side.
void NWNX_PushArgumentString(string value)
Pushes the specified type to the c++ side.
void NWNX_PushArgumentObject(object value)
Pushes the specified type to the c++ side.
effect NWNX_Effect_GetAppliedEffect(object oObject, int nNth)
Returns the nNth applied effect on a object.
void NWNX_PushArgumentInt(int value)
Pushes the specified type to the c++ side.
void NWNX_PushArgumentEffect(effect value)
Pushes the specified type to the c++ side.
int NWNX_Effect_GetIsEffectValid(effect eEffect)
Checks if the given effect is valid. Unlike the game builtin, this call considers internal types too.
effect NWNX_Effect_PackEffect(struct NWNX_EffectUnpacked e)
Convert unpacked effect structure to native type.
void __NWNX_Effect_ResolvePack(string sFunc, struct NWNX_EffectUnpacked e, int bReplace=FALSE)
object NWNX_GetReturnValueObject()
Returns the specified type from the c++ side.
effect NWNX_Effect_SetEffectCreator(effect eEffect, object oObject)
Sets an effect creator.
void NWNX_PushArgumentFloat(float value)
Pushes the specified type to the c++ side.
struct NWNX_EffectUnpacked NWNX_Effect_GetTrueEffect(object oObject, int nIndex)
Gets a specific effect on an object. This can grab effects normally hidden from developers,...
void NWNX_Effect_ReplaceEffectByIndex(object oObject, int nIndex, struct NWNX_EffectUnpacked e)
Replaces an already applied effect with another.
const int DURATION_TYPE_INNATE