Jump to content

Recommended Posts

Posted

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.

Posted (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 by RandomlyAwesome
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...