hero spells + scripting functions

Make games! Discuss those games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
marionline
Metal Slime
Posts: 673
Joined: Sat Feb 26, 2011 9:23 pm

hero spells + scripting functions

Post by marionline »

I have a scripting related question:

Image

If i don't use spell list, but assign the spells throug the battle menu to the heros, how can I alter thoses spells? Are there functions to work with thoses spells?

I looked in the plotscripting dictionary, but I found only thoses comands/functioms for spells that work with spell lists.
User avatar
Bob the Hamster
Liquid Metal King Slime
Posts: 7460
Joined: Tue Oct 16, 2007 2:34 pm
Location: Hamster Republic (Ontario Enclave)
Contact:

Post by Bob the Hamster »

Unfortunately there are no commands yet to manipulate a hero's battle menu.

I will probably add such commands eventually.

What might happen sooner, is the ability to make battle menu items that only show up if a certain tag is set.

Would that be good enough for your purposes?
User avatar
Meowskivich
Blubber Bloat
Posts: 2199
Joined: Tue Mar 06, 2012 12:38 am
Location: Earth
Contact:

Post by Meowskivich »

that may suit mine fine enough.
I sort of want to have a way of players sort of customizing their battle menus, mostly for AR-PUH-GUH!, as players of mine comment that they wish that rest would be below the attack menus. I can jerry-rig it with something at the start of the game, but simple tags would be a better choice.
dOn'T MiNd mE! i'M jUsT CoNtAgIoUs!!!
Play Orbs CCG: http://orbsccg.com/r/4r6x :V
User avatar
marionline
Metal Slime
Posts: 673
Joined: Sat Feb 26, 2011 9:23 pm

Post by marionline »

@Bob:
I planned to give the hero new attacks on level up and allow removing old ones (by a menu or so).
I don't need to use the spell list, because the hero will not know many attacks.

If just setting tags at level up and will make the hero learn/forget attacks I'll use this.
Otherwise, I'll use a spell list untill there are scripting functions for this feature.


Thanks for your answer! :)
Post Reply