Initial upload.
Adding base PRC 4.19a files to repository.
This commit is contained in:
23
trunk/users/Stratovarius/prc_blm_blcomp.nss
Normal file
23
trunk/users/Stratovarius/prc_blm_blcomp.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
// Written by Stratovarius
|
||||
// Turns Blood Component on and off.
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = OBJECT_SELF;
|
||||
string nMes = "";
|
||||
|
||||
if(!GetLocalInt(oPC, "BloodComponent"))
|
||||
{
|
||||
SetLocalInt(oPC, "BloodComponent", TRUE);
|
||||
nMes = "*Blood Component Activated*";
|
||||
}
|
||||
else
|
||||
{
|
||||
// Removes effects
|
||||
DeleteLocalInt(oPC, "BloodComponent");
|
||||
nMes = "*Blood Component Deactivated*";
|
||||
}
|
||||
|
||||
FloatingTextStringOnCreature(nMes, oPC, FALSE);
|
||||
}
|
Reference in New Issue
Block a user