I think I shouldn't be asking such questions :(
Re: I think I shouldn't be asking such questions :(
Sorry for not responding sooner. I do NOT know how to make it disappear, unless you set it's level to 0 when the door is opened?
Steve Dilworth - Resisting change since 1965!
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: I think I shouldn't be asking such questions :(
well,yeah that'smy idea,but I don't know how to do it,I have to makae opening the door to take the card attribute away from you (but I don't know if that won't trigger the logic gate again and make the door not openable anymore.
Re: I think I shouldn't be asking such questions :(
Try it and see? The most you'll have to do is take out or change the value of an entity if it doesn't work.metal_head wrote:well,yeah that'smy idea,but I don't know how to do it,I have to makae opening the door to take the card attribute away from you (but I don't know if that won't trigger the logic gate again and make the door not openable anymore.
Steve Dilworth - Resisting change since 1965!
Re: I think I shouldn't be asking such questions :(
You'd have to have two different attributes. Like 'card1' and 'card2'. When you pick the card up you would get both attributes and after 7 seconds 'card1' would be removed. Then the door could use 'card2' which you never lose and the HUD could use 'card1'.
Pain is only psychological.
Re: I think I shouldn't be asking such questions :(
That makes sense.Juutis wrote:You'd have to have two different attributes. Like 'card1' and 'card2'. When you pick the card up you would get both attributes and after 7 seconds 'card1' would be removed. Then the door could use 'card2' which you never lose and the HUD could use 'card1'.
Steve Dilworth - Resisting change since 1965!
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: I think I shouldn't be asking such questions :(
is there a script command for hiding hud elements? if so,I could make the door to activate a logic gate and make a script with a lot of help which will detect if that logic gate's state is changed and than hide the HUD element.
But...after all the best way to do it,is to make appear for..about 4 seconds and below the HUD element to make a Message,saying: Access Card Collected! so that way it will only show the player that the card is collected (you know,because the card model which you have to collect is a small one and it's important to continiue the game.
But...after all the best way to do it,is to make appear for..about 4 seconds and below the HUD element to make a Message,saying: Access Card Collected! so that way it will only show the player that the card is collected (you know,because the card model which you have to collect is a small one and it's important to continiue the game.
Re: I think I shouldn't be asking such questions :(
ActivateHudElement(string AttributeName, bool Flag);
Activate/Deactivate the HUD for the attribute AttributeName.
Pain is only psychological.
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: I think I shouldn't be asking such questions :(
Thanks,Juutis! gee,I think there are a lot of commands which are not written in the manual I think,is there a list with all the commands?
Re: I think I shouldn't be asking such questions :(
They're all in the manual under Component Reference -> Scripting -> High/Low Level Pawn Script Commands.
Pain is only psychological.
- metal_head
- Posts: 1244
- Joined: Sat Jan 05, 2008 8:31 pm
- Location: Bulgaria,Sofia
- Contact:
Re: I think I shouldn't be asking such questions :(
oh,maybe I've missed some of them