PRC8_fork/trunk/scripts/prc_powatk_chqs.nss
Jaysyn904 1662218bb4 Initial upload.
Adding base PRC 4.19a files to repository.
2022-10-07 13:51:24 -04:00

24 lines
738 B
Plaintext

//::///////////////////////////////////////////////
//:: Power Attack - Change Quickselect
//:: prc_powatk_chqs
//:://////////////////////////////////////////////
/*
Sets the local int signifying that next use of
a quickslot is to store the current value
of power attack instead of changing it.
*/
//:://////////////////////////////////////////////
//:: Created By: Ornedan
//:: Created On: 22.05.2005
//:://////////////////////////////////////////////
void main()
{
object oPC = OBJECT_SELF;
SetLocalInt(oPC, "ChangePowerAttackQuickselect", TRUE);
SendMessageToPCByStrRef(oPC, 16823461);
// Ten seconds to change the selection
DelayCommand(10.0f, DeleteLocalInt(oPC, "ChangePowerAttackQuickselect"));
}