Further file organization
Further file organization
This commit is contained in:
15
nwn/nwnprc/trunk/psionics/psi_ac_conv_a9.nss
Normal file
15
nwn/nwnprc/trunk/psionics/psi_ac_conv_a9.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
// Sets the option Knockdown active on the AC being edited
|
||||
|
||||
|
||||
#include "psi_inc_ac_const"
|
||||
#include "psi_inc_ac_convo"
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
|
||||
nFlags |= ASTRAL_CONSTRUCT_OPTION_KNOCKDOWN;
|
||||
|
||||
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
|
||||
}
|
Reference in New Issue
Block a user