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
Script Help Door "It wont budge"
Ninami Offline
Member

Posts: 59
Threads: 6
Joined: Feb 2012
Reputation: 2
#4
RE: Door "It wont budge"

You will have to use this function:

void SetMessage(string& asTextCategory, string& asTextEntry, float afTime);

Displays a message on the screen.
asTextCategory - the category in the .lang file
asTextEntry - the entry in the .lang file
afTime - determines how long the message is displayed. If time is < =0 then the life time is calculated based on string length.


And combine it with:

SetEntityPlayerInteractCallback(string& asName, string& asCallback, bool abRemoveOnInteraction);

So when the player "touches" the door, the message will appear.

02-21-2012, 08:16 PM
Find


Messages In This Thread
Door "It wont budge" - by BallisticDK - 02-21-2012, 06:44 PM
RE: Door "It wont budge" - by Ninami - 02-21-2012, 07:01 PM
RE: Door "It wont budge" - by BallisticDK - 02-21-2012, 08:03 PM
RE: Door "It wont budge" - by Ninami - 02-21-2012, 08:16 PM



Users browsing this thread: 1 Guest(s)