do not quote player references when using MWSE. this causes bizarre errors, as i found out to my debugging sorrow.
I've never had this issue, and have quoted "player" in MWSE and regular scripts. Can you post a script known to repro it?
Begin 01mc_kleffinnpcfight1Short NoLoreshort doOnceA if ( CellChanged == 0 ) Returnendifif ( doOnceA == 0 ) if ( GetDeadCount "01mc_fightingslave2" == 0 ) StartCombat "01mc_fightingslave2" set doOnceA to 1 endifendifEnd
Begin 01mc_kleffinnpcfight2Short NoLoreshort doOnceA if ( CellChanged == 0 ) Returnendifif ( doOnceA == 0 ) if ( GetDeadCount "01mc_fightingslave1" == 0 ) StartCombat "01mc_fightingslave1" set doOnceA to 1 endifendifEnd
begin 01mc_impishwardrumTshort getactivateif ( activate == 1 ) if ( getactivate == 1) return endif else if ( getactivate == 0) activate "player"->PositionCell 4314 5449 15577 0 "Kleffin's Family Home, Basemant" set getactivate to 1 endifendifend
begin 01mc_impishwardrumTshort getactivateif ( activate == 1 ) if ( getactivate == 1) return endif else if ( getactivate == 0) activate "player"->PositionCell 4314 5449 15577 0 "Kleffin's Family Home, Basemant" Journal "mc_dissidentpriest" 280 Addtopic "Impish War Drum" set getactivate to 1 endifendifend
xSetRef "player"
begin 01mc_impishwardrumTif ( onactivate == 1 ) returnendif elseif ( onactivate == 0) activate "player"->PositionCell 4314 5449 15577 0 "Kleffin's Family Home, Basemant" Journal "mc_dissidentpriest" 280 Addtopic "Impish War Drum" set onactivate to 1endifend
begin 01mc_impishwardrumTshort doneshort OnPCAddif ( OnPCAdd == 1 ) if ( done == 0 ) Set done to 1 "player"->PositionCell 4314 5449 15577 0 "Kleffin's Family Home, Basemant" Journal "mc_dissidentpriest" 280 Addtopic "Impish War Drum" endifendifEnd
if ( onactivate == 1 ) returnendif elseif ( onactivate == 0).....
if ( onactivate == 1 ) returnelseif ( onactivate == 0).....
if ( onactivate == 1 ) returnelse ....
if ( onactivate == 1 ) returnendif elseif ( onactivate == 0).....
if ( onactivate == 1 ) returnelseif ( onactivate == 0).....
if ( onactivate == 1 ) returnelse ....