ES_PRC8/_module/nss/ew_d8roll.nss
Jaysyn904 08e84b4e71 Initial upload
Initial upload.
2023-11-14 12:09:02 -05:00

12 lines
319 B
Plaintext

void main()
{
object oPC = GetLastSpeaker();
int nRoll=d8();
string sName = GetName(oPC);
string sRoll=IntToString(nRoll);
AssignCommand( oPC, ActionPlayAnimation (ANIMATION_LOOPING_GET_MID, 3.0, 3.0));
DelayCommand( 2.0, AssignCommand( oPC, SpeakString(sName+"Rolled a d8 and gets a: "+sRoll)));
}