Re: Selecting no weapon, and, if(theyselectweapon)


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by CogKing on February 09, 1998 at 12:33:57:

In Reply to: Selecting no weapon, and, if(theyselectweapon) posted by Raptor [JiB] on February 07, 1998 at 06:17:38:

> You may know that when you start a fresh sp level and don't add an endlevel cog or something, you start with no weapon selected, and kyle's hand ends with a stump. Is there a way to reselect this weponless state after a weapon has been selected?
> From this weaponless state, is there a way to say

> if(the player selects any weapon)
> {
> Then do something
> }

> ???
> Thanks a lot.

You can try starting a pulse of say 0.33 and use GetCurWeapon(player);
to see when the weapon changes. Alternatively you could also edit all the
weapon scripts and andle the selected: and deselected: events.
I don't think there is any way to reselect the no weapon state.

-CogKing


Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]