Re: [hlcoders] Custom Button entity

2008-03-17 Thread Marshall
Chrs I got your message and im replying :D -- From: "Chrs Anderson" <[EMAIL PROTECTED]> Sent: Monday, March 17, 2008 2:31 PM To: "Discussion of Half-Life Programming" Subject: Re: [hlcoders] Custom Button entity

Re: [hlcoders] Custom Button entity

2008-03-17 Thread Tobias Kammersgaard
> From: "Matt Stafford" > Sent: Sunday, March 16, 2008 8:58 PM > To: "Discussion of Half-Life Programming" > Subject: Re: [hlcoders] Custom Button entity > > > If you mean the Toggle 'input' (not output)

Re: [hlcoders] Custom Button entity

2008-03-17 Thread Chrs Anderson
or the reply also :D -- From: "Matt Stafford" Sent: Sunday, March 16, 2008 8:58 PM To: "Discussion of Half-Life Programming" Subject: Re: [hlcoders] Custom Button entity > If you mean the Toggle 'input' (not output) then its not a very hard thing

Re: [hlcoders] Custom Button entity

2008-03-17 Thread Tom Edwards
nc_button would be easier, thanks for the > reply also :D > > > -- > From: "Matt Stafford" <[EMAIL PROTECTED]> > Sent: Sunday, March 16, 2008 8:58 PM > To: "Discussion of Half-Life Programming" > Subjec

Re: [hlcoders] Custom Button entity

2008-03-16 Thread Marshall
nt: Sunday, March 16, 2008 8:58 PM To: "Discussion of Half-Life Programming" Subject: Re: [hlcoders] Custom Button entity > If you mean the Toggle 'input' (not output) then its not a very hard thing > to do. > There is a function called FindEntityByName which you ca

Re: [hlcoders] Custom Button entity

2008-03-16 Thread Matt Stafford
If you mean the Toggle 'input' (not output) then its not a very hard thing to do. There is a function called FindEntityByName which you can use to lookup an entity by the name in Hammer. Basically, you should be able to use that, typecast it and then call a normal function. I'm using this method f

[hlcoders] Custom Button entity

2008-03-16 Thread Marshall
Hi, im trying to create my own button entity that instead of using the I/O system you simply set the target entity name and it uses the "toggle" output, my mod heavily depends on lights and I thought this would make mapping MUCH easier :D I couldn't figure out how to hardcode an I/O system outp