Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Randomize door message
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#5
RE: Randomize door message

Will this work?


void DinnerMessage(string &in entity)
{
if(GetSwingDoorLocked("DinnerDoor") == true)
{
SetMessage("DoorMessages", "Entry_"+RandInt(1,3), 0);
}
}

.lang


<CATEGORY Name="DoorMessages">
<Entry Name="DinnerMSG">It won't budge.</Entry>
<Entry Name="DinnerMSG2">It's not going to open.</Entry>
<Entry Name="DinnerMSG3">I might aswell give up on this door.</Entry>

Hi.
06-27-2012, 11:33 AM
Website Find


Messages In This Thread
Randomize door message - by MaZiCUT - 06-27-2012, 11:13 AM
RE: Randomize door message - by Your Computer - 06-27-2012, 11:25 AM
RE: Randomize door message - by MaZiCUT - 06-27-2012, 11:28 AM
RE: Randomize door message - by Your Computer - 06-27-2012, 11:32 AM
RE: Randomize door message - by MaZiCUT - 06-27-2012, 11:33 AM
RE: Randomize door message - by Your Computer - 06-27-2012, 11:39 AM
RE: Randomize door message - by MaZiCUT - 06-27-2012, 11:47 AM
RE: Randomize door message - by Your Computer - 06-27-2012, 11:52 AM
RE: Randomize door message - by MaZiCUT - 06-27-2012, 12:00 PM
RE: Randomize door message - by Your Computer - 06-27-2012, 12:11 PM



Users browsing this thread: 1 Guest(s)