-- [ Picked text/plain from multipart/alternative ] Just testing that this wass sent to the mailing list(Can't see it in my inbox)
On 12/15/05, Benjamin Davison <[EMAIL PROTECTED]> wrote: > > :) Probably something blindingly obvious. > > I'm using OnEndTouch, exactly the same way as OnStartTouch I'm using this > in the my_logical_entity example so everything is set up just like > OnStartTouch. But I can never get it too trigger, heres some of the code i'm > using. > (Late nights for the win :D) > > In the FDG: > > input Tick(void) : "Adds one tick to the entity's count." > > input OutPutTick(void) : "Removes a tick from player" > > Code: > Function prototypes. > // Input function/output function > void InputTick( inputdata_t &inputData ); > void OutPutTick( inputdata_t &inputData ); > > Factory > DEFINE_INPUTFUNC( FIELD_VOID, "Tick", InputTick ), > > DEFINE_INPUTFUNC( FIELD_VOID, "OutPutTick", OutPutTick ), > > Functions > void CMyLogicalEntity ::InputTick( inputdata_t &inputData ) > void CMyLogicalEntity::OutPutTick(inputdata_t &inputData ) > > And how it's set up in hammer. > > http://img489.imageshack.us/img489/8720/sourc8ht.jpg > > My problem is that OnStartTouch fires perfectly, but OnEndTouch just "does > nothing" > > -- > - Benjamin Davison -- - Benjamin Davison -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

