Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Door "It wont budge"
Author Message
BallisticDK Offline
Junior Member

Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #1
Door "It wont budge"
Hey, i need help to find out how to make a STD door say, "It wont budge" when i interact with it And is locked.

Ive Looked on google this forum and the Engine Script Page

Thanks you for you'r help
02-21-2012 06:44 PM
Find all posts by this user Quote this message in a reply
Ninami Offline
Member

Posts: 59
Joined: Feb 2012
Reputation: 2
Post: #2
RE: Door "It wont budge"
Somehow I doubt you checked the forum Tongue

Because I learned how to do this from many forum posts from here.
02-21-2012 07:01 PM
Find all posts by this user Quote this message in a reply
BallisticDK Offline
Junior Member

Posts: 5
Joined: Feb 2012
Reputation: 0
Post: #3
RE: Door "It wont budge"
i looked afte and Searched
"It wont budge" but if you says you lerned it from there, then i didnt look close enoph Derp Spell fail
02-21-2012 08:03 PM
Find all posts by this user Quote this message in a reply
Ninami Offline
Member

Posts: 59
Joined: Feb 2012
Reputation: 2
Post: #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 all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)