Alright!
I have made some progress. My first problem was that I had the script written with affect set to info_player_start. I changed it to "player" and set an NPC_Targetname on the info_player_start as "player" and now the script runs.
However, it isn't taking away the lightsaber. It is giving me the weapon I selected, but the lightsaber is still in my inventory.
This is my incredibly simple script:
affect ( "player", /*@AFFECT_TYPE*/ FLUSH )
{
set ( /*@SET_TYPES*/ "SET_WEAPON", /*@WEAPON_NAMES*/ "WP_NONE" );
set ( /*@SET_TYPES*/ "SET_WEAPON", /*@WEAPON_NAMES*/ "WP_BOWCASTER" );
}
I know about the stun_baton spawnflag/spawnflag 32. I know! But I want my script to work properly.