I want to make a door that can't be opened.
Everytime someone tries to open it I want a small text to appear above the head of the player that gives him the reason why he can't open it or what he can hear behind the door. I don't want to use this FloatingTextStringOnCreature. Just this plain white normal Text (same as when players talks smt.)
What command to use??? :blink:
[snapback]15464[/snapback]
Only way to make that (as far I know) is making the player say that he can't open it.
-Mel
I want to make a door that can't be opened.
Everytime someone tries to open it I want a small text to appear above the head of the player that gives him the reason why he can't open it or what he can hear behind the door. I don't want to use this FloatingTextStringOnCreature. Just this plain white normal Text (same as when players talks smt.)
What command to use??? :blink:
[snapback]15464[/snapback]
Only way to make that (as far I know) is making the player say that he can't open it.
-Mel
[snapback]15480[/snapback]
Oh there is a way. It happens a lot in the first chapter of the game when you try to open some doors or gates you are being told that the gate/door is locked from the other side...remember?? :)
but I'm still searching for the command :huh:
I want to make a door that can't be opened.
Everytime someone tries to open it I want a small text to appear above the head of the player that gives him the reason why he can't open it or what he can hear behind the door. I don't want to use this FloatingTextStringOnCreature. Just this plain white normal Text (same as when players talks smt.)
What command to use??? :blink:
[snapback]15464[/snapback]
Only way to make that (as far I know) is making the player say that he can't open it.
-Mel
[snapback]15480[/snapback]
Oh there is a way. It happens a lot in the first chapter of the game when you try to open some doors or gates you are being told that the gate/door is locked from the other side...remember?? :)
but I'm still searching for the command :huh:
[snapback]15485[/snapback]
Isn't that FloatingTextStringOnCreature? As I remeber that it is.
-Mel
i'm guessing u want the object to say it...least i think that's how it's done in the campaign:
void main()
{
//OnOpen
//set for OBJECT_SELF
object oPC = GetLastOpenedBy();
if (!GetIsPC(oPC)) return;
ActionSpeakString("PIKE OFF IT'S LOCKED!");
}
[snapback]15597[/snapback]
Thx Khadgar. I try that one.
You can make the character speak the line, the door speak the line, or in the combat box with the white thing that scrolls up and disappears.
[snapback]15613[/snapback]
Yes and I want the door to speak the line not the character. I don't want this white line that appears and vanishes after two seconds.