Help to edit the script a little :(

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
First Language
English
Hi guys, i am trying to modify KHAS's Saphier Action System:
http://arcthunder.blogspot.com.br/p/scripts.html
that to have a distance attribute for skill, for example if i input note tag
distance = 100
then that skill will be destroyed after it has moved >= 100 pixel.
I checked the script and guess that shouldn't too hard for some one experienced with RGSS3 script (Ruby?)

My theory is to define a new tag, and declare it like target.loc = char.x + distance
give condition to destroy the skill once it reached the target.loc

But i don't know much about RPGVXAce scripting so... please HELP T.T
Below is Khas Sapphire Script so you can take a look

Thanks Guys



[mod]Removed the script because of the Terms of Use it comes with. Please be extra careful whe you post such assets. Read the terms before posting and make sure you can. Your alternative is to post his blog! [/mod]

http://arcthunder.blogspot.gr/p/scripts.html
 
Last edited by a moderator:

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
First Language
English
Oh sorry about that, i thought that would be easier for people who want to help : |
 

Nightblade50

Developer of "Delta Origins"
Veteran
Joined
Nov 10, 2016
Messages
2,133
Reaction score
4,253
First Language
English, French
Primarily Uses
RMVXA
Oh sorry about that, i thought that would be easier for people who want to help : |
It would be, but not everything is easy ;)

Also his website is down :( so I'm not sure how to get it.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,248
Reaction score
1,250
First Language
Spanish
Primarily Uses
RMVXA
I just glanced over the code, and it seems it's based on stock functions, just rewired a bit to do other things.
if what you want is to put a limit to the distance of a spell, that *should* be doable.
 

Isabella Ava

Veteran
Veteran
Joined
Sep 13, 2016
Messages
635
Reaction score
756
First Language
English
hi @gstv87 somehow i was able to implement a distance attribute for skill.
Can you help me to add a timer function? for example i can set the skill to
vanished after 120 frames or so on.
I think it's not too hard too, since we can set like time1 = Graphics.frame_count
and time2 = Graphics.frame_count + timer
and check if time1 >= time2 >>> destroy
But i am not sure how to do it properly :|
Thank you : )
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,248
Reaction score
1,250
First Language
Spanish
Primarily Uses
RMVXA
look into the SaphireSkill class, methods "move", "move_last", "destroy" and "update"
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top