I think I shouldn't be asking such questions :(

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
User avatar
steven8
Posts: 1487
Joined: Wed Aug 24, 2005 9:08 am
Location: Barberton, OH

Re: I think I shouldn't be asking such questions :(

Post by steven8 »

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!
User avatar
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 :(

Post by metal_head »

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.
User avatar
steven8
Posts: 1487
Joined: Wed Aug 24, 2005 9:08 am
Location: Barberton, OH

Re: I think I shouldn't be asking such questions :(

Post by steven8 »

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.
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.
Steve Dilworth - Resisting change since 1965!
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: I think I shouldn't be asking such questions :(

Post by Juutis »

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.
User avatar
steven8
Posts: 1487
Joined: Wed Aug 24, 2005 9:08 am
Location: Barberton, OH

Re: I think I shouldn't be asking such questions :(

Post by steven8 »

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'.
That makes sense.
Steve Dilworth - Resisting change since 1965!
User avatar
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 :(

Post by metal_head »

is there a script command for hiding hud elements? if so,I could make the door to activate a logic gate and :D make a script with a lot of help :D 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.
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: I think I shouldn't be asking such questions :(

Post by Juutis »

ActivateHudElement(string AttributeName, bool Flag);
Activate/Deactivate the HUD for the attribute AttributeName.
Pain is only psychological.
User avatar
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 :(

Post by metal_head »

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?
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: I think I shouldn't be asking such questions :(

Post by Juutis »

They're all in the manual under Component Reference -> Scripting -> High/Low Level Pawn Script Commands.
Pain is only psychological.
User avatar
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 :(

Post by metal_head »

oh,maybe I've missed some of them :D
Post Reply