16 lines
383 B
Plaintext
16 lines
383 B
Plaintext
|
// Sets the option Natural Invisibility 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_NATURAL_INVIS;
|
||
|
|
||
|
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
|
||
|
}
|