UW2_PRC8/_module/nss/tlr_rotateclock.nss
Jaysyn904 5197ad9a4d Initial upload
Initial upload
2023-09-25 20:24:01 -04:00

21 lines
564 B
Plaintext

//::///////////////////////////////////////////////
//:: Tailoring - Rotate Model Clockwise
//:: tlr_rotateclock.nss
//:: Copyright (c) 2003 Jake E. Fitch
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By: Jake E. Fitch (Milambus Mandragon)
//:: Created On: March 9, 2004
//:://////////////////////////////////////////////
void main()
{
float fNewFace = GetFacing(OBJECT_SELF) - 30.0;
if (fNewFace < 0.0) fNewFace += 360.0;
AssignCommand(OBJECT_SELF, SetFacing(fNewFace));
}