Here's what I do.
From the depths of the Super Hero Bash Library Archives....
skill
parent_type = /obj
proc/Action()// we'll use this later
DblClick()
if(src in usr.skills)//if it is in the persons skills list
Action()//callt he action
else//if not
..()//regular shiznits
That's how I call the powers (you doubleclick the power in your powers statpanel and an action is perfermed)
Here is an example:
skill/superhuman// Super Human skills
superspeed // Super Speed skills
FastMove // Super Speed Skill FastMove
Action()
set src in usr
if(usr.mode== "Speed")
usr.mode = "Walk"
else
usr.mode = "Speed"
That's how most of the powers are called. If you need more examples, be sure to ask. I have some that I can give out.
I was wondering how I can make it well.... better. I don't really know what I mean but...this seems...sucky. It's more like a verb and can get mixed up alot. (Most of the Teleportation powers are like this, you can't teleport to your saved locations, well...you can. You go through everyone in your list)
Anyways, back to the point. How can I make this...errr, I don't know what I'm looking for. I just think that this is too messy. It's more like a verb. I am looking to make it easy to add in new powers. Gah...everything is just...gah... Please help.
-Sariat