--
[ Picked text/plain from multipart/alternative ]
hmm, basically what I have, is a panel, that has a list of objects,(well
spells)
So say that you select magic,
I want it then to change a variable m_pCurrentSpell, which is on the weapon,
to that current spell.
m_pCurrentSpell, is an integer with a bunch of values, and depending on the
value, then picks
the spell. So all I want to do, is have my panel, change that value,
depending on what is selected
in my ListPanel.
Does this explain more?
And thanks for your help.
On 4/6/06, Garry Newman <[EMAIL PROTECTED]> wrote:
>
> --
> [ Picked text/plain from multipart/alternative ]
> Huh not sure I understand but:
>
> C_BasePlayer* pPlayer = C_BasePlayer::GetLocalPlayer();
>
> if (pPlayer)
> {
> pPlayer->GetActiveWeapon()
> }
>
> On 4/6/06, Michael Kramer <[EMAIL PROTECTED]> wrote:
> >
> > --
> > [ Picked text/plain from multipart/alternative ]
> > I have a weapon, in which you can select multiple things, using a VGUI
> > Panel.
> >
> > After you select from this list, It needs to send the keyvalues of the
> > selected item, back
> > to the weapon and then , get the values from KeyValues.
> >
> > Basically the weapon calls
> >
> > engine->ClientCmd("ToggleSpellPanel");
> >
> > Which then toggles my panel.
> >
> > My panel then has a list, with added items,
> >
> > So basically what im wanting to know, is either how to send my Player,
> or
> > Weapon, the Currently Selected Items, KeyValues, (Which I know how to
> get,
> > just now howto send to player/weapon)
> > .
> >
> > Any help would be greatly appreciated.
> >
> > Thanks
> >
> > -Kramer
> > --
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders