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
Should be an easy fix
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#4
RE: Should be an easy fix

The if statement would be used in your .hps.
void MansionDoor(string &in asEntity)
{
if(GetSwingDoorLocked("DOORNAME"))
{
SetMessage"Messages", "MansionDoor", 0);
}
}
What this will do is check if the door is locked. If it is locked, it will set the message. If the door is unlocked, nothing will be displayed on-screen.

03-29-2012, 11:19 PM
Find


Messages In This Thread
Should be an easy fix - by Cole - 03-29-2012, 01:41 AM
RE: Should be an easy fix - by Obliviator27 - 03-29-2012, 02:38 AM
RE: Should be an easy fix - by Cole - 03-29-2012, 10:50 PM
RE: Should be an easy fix - by Obliviator27 - 03-29-2012, 11:19 PM
RE: Should be an easy fix - by Cole - 03-30-2012, 12:29 AM



Users browsing this thread: 1 Guest(s)