Aller au contenu

Photo

A trigger that generates a random integer and assigns it as a variable to the PC


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
UnrealJedi

UnrealJedi
  • Members
  • 113 messages
Doable? Does anyone have a short script in their archives they can post?

I am just thinking of a simple script...deletes the existing variable, rolls a random number, and then assigns it to the PC. 

#2
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
void main
{
SetLocalInt(GetEnteringObject(),"varname", d100());
}