NWNDS/nwnds_module/tlr_rotateclock.nss
Jaysyn904 de24f81734 Added NWN Dark Sun module contents
Added NWN Dark Sun module contents.
2021-07-12 21:24:46 -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));
}