How to make a sword do no damage
#46
Posted 07 July 2011 - 02:20 PM
#47
Posted 07 July 2011 - 02:28 PM
zscript.txt. If there's anything unclear there, well, just ask.
Umm... I'll double check but I believe it only covers the actual item pointer not the itemdata "this" pointer.
Nope! It's there, just must of missed it.
Edited by blackbishop89, 07 July 2011 - 02:42 PM.
#48
Posted 07 July 2011 - 09:23 PM
#49
Posted 08 July 2011 - 11:06 AM
so have you found out how to make the magic sword ideal work yet?
Have you tried the item script that saffith came up with. It should do what you want it to.
{
void run(int mpCost, int power)
{
if(Link->MP>=mpCost)
{
Link->MP-=mpCost;
this->Power=power;
}
else
this->Power=0;
}
}
#50
Posted 08 July 2011 - 10:31 PM
Have you tried the item script that saffith came up with. It should do what you want it to.
{
void run(int mpCost, int power)
{
if(Link->MP>=mpCost)
{
Link->MP-=mpCost;
this->Power=power;
}
else
this->Power=0;
}
}
okay thanks guys i will be putting both of your guy's name in my games credits
Edited by linktopower, 08 July 2011 - 10:39 PM.
#51
Posted 08 July 2011 - 10:34 PM
okay got it my game but...
do i have to any thing in the script itself or what you know uh...
because i don't know to use it
i got it set up on a sword but the sword is doing no damage Evan if i have magic what do i do now?
What to you have power set to
Oh and you can toss the old mana sword script. Since it's not used. BTW have you decided whether or not you'll be using my sideview door script in your dungeons/towns.
Edited by blackbishop89, 08 July 2011 - 10:35 PM.
#52
Posted 08 July 2011 - 10:44 PM
and about the that sideview door script
it depends how hard it is to set up
if it isn't that hard i'll go ahead use it
#53
Posted 08 July 2011 - 10:46 PM
okay i got it working
and about the that sideview door script
it depends how hard it is to set up
if it isn't that hard i'll go ahead use it
It's only hard if you don't know what your doing simply add it to the end of your .z file and will go from there via PM. I'll walk you through setting it up and everything. It's real easy since it's a stand alone ffc combo.
#54
Posted 08 July 2011 - 11:08 PM
now but it'll be a thought in the future though thanks
#55
Posted 09 July 2011 - 10:36 AM
eh... i don't know i think i will keep using the scripts that already have for right
now but it'll be a thought in the future though thanks
Well I strongly suggest it since it adds the illusion of depth and prevents me from having jumping over houses which is what inspired me to write it in the first place.
#56
Posted 09 July 2011 - 10:59 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users