Utils: Action Targets

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

This script stores the targets of an action with the action itself so that
you can access the action’s targets if needed.

Download

Script: download here

Installation

Place this script below Materials and above Main

Usage

Plug and play.

An example use of the targets is if you wanted to write damage formulas based
on the number of targets. You would access the targets from the user’s
current action as such:

a.current_action.targets

This returns an array of Game_Battler objects.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax