Jump to content

Can i pass magnitude variable to EffectScript?


hoax2

Recommended Posts

Man I hope this question makes sense cause im stumped.

 

I'd like to use one EffectScript on many ingestibles but have the script receive the magnitude used.

 

For Example:

NukeCola Quantum should have a Caffeine Magnitude of 10;

NukeCola Regular should have a Caffeine Magnitude of 5;

 

Rather then make an EffectScript for each Caffeine option, and a BaseEffect for each script.. It would make sense to just pass a variable (Magnitude) to my script...

 

Something like:

 

scn CaffeineScr

Begin ScriptEffectStart

set CaffeineCount to (Caffeine Count + magnitude)

End

 

Is there syntax for this??

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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