Jump to content
Sign in to follow this  
Victor Sant

VE - Trait Control

Recommended Posts

Victor Engine - Trait Control

 

Trait%20Control.PNG

 

This script allows to a higher control over the traits. You can set traits to be active only if certain conditions are met or add and remove traits manually with comment calls.

 

Download:

Victor Engine - Trait Control

 

Credits:

Author: Victor Sant

Edited by Victor Sant

Share this post


Link to post
Share on other sites

line 312: NameError occurred

 

undefined local variable or method 'get_all_notes' for #<Game_Actor:0x9af9688>

Share this post


Link to post
Share on other sites

My bad, I still have v1.06 :D you update too fast for me!

 

and fixed. Thanks.

Edited by Ascen

Share this post


Link to post
Share on other sites

I can't get the script command to change my element rate. I've tried:

 

<actor add trait 1: element rate, element ID

3, efficiency rate 300>

 

<actor add trait 1: element rate, 3, 300>

 

and

 

<actor add trait 1: element rate, element ID (3), efficiency rate (300)>

 

What am I doing wrong?

Share this post


Link to post
Share on other sites

Try

 

<actor add trait 1: element rate,
element ID 3,
efficiency rate 300>

 

It's usually not recommended to separate the single parts of a comment or script call.

Share this post


Link to post
Share on other sites

So you weren't adding element strength to the traits, I guess?

I'm trying to think of a way to make it so that items add these traits, but that means that I'd have to have a common event for each item, and a way to see which actor the item is being used on

Are you interested in the idea of making item trait control? Like a potion that you took forever to craft which adds a trait of Fire Resistance to you forever unless removed with said call? Or is there a script already out there that serves the Item Gain Trait purpose?

 

Edit:

I tried (arrow) actor add trait $game_variables[1]: basic param, 2, 200 (arrow) and

A = $game_variables[1]

(arrow) actor add trait A: basic param, 2, 200 (arrow)

but that didn't work. So that means I can't condition it in a fast way at all. I'd have to condition for each actor if they have the state Selected for Trait Change given by the trait-changing item with the common event that changes the relevant change.

I can do it ifya say no. Would just be a bit slow.

Edited by Moo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted