AstralFire Posted June 12, 2012 Share Posted June 12, 2012 If I define a variable in one event on an activemagiceffect script (e.g. Event OnEffectStart), how can I ensure that the variable retains its value for another event (e.g. Event OnEffectFinish)? I haven't had any luck with this so far. Thanks. Link to comment Share on other sites More sharing options...
RandomlyAwesome Posted June 12, 2012 Share Posted June 12, 2012 (edited) this works for me string variablename event OnEffectStart variablename = whatever you want it to be other stuff endevent event onEffectFinish variablename = whatever else you want it to be other stuff endevent Edited June 12, 2012 by RandomlyAwesome Link to comment Share on other sites More sharing options...
AstralFire Posted June 12, 2012 Author Share Posted June 12, 2012 Appears to work, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts