Since we can make items spawn weapons that pass through enemies, like the golden arrow, is it possible to do this via script? It doesn't seem possible to spawn weapons that don't disappear after running into keese, also killing them.
Since we can make items spawn weapons that pass through enemies, like the golden arrow, is it possible to do this via script? It doesn't seem possible to spawn weapons that don't disappear after running into keese, also killing them.
Avatar: Just who the SPAAAACE do you think I am?
I wonder how that Ball and Chain script worked then. I've been trying to figure it out, but ..
Problem is I don't want this LWeapon to do any damage- not even kill keese. I haven't really investigated this thoroughly.
Avatar: Just who the SPAAAACE do you think I am?
hmm... I have an *idea* if you want to try it out.
What if you either change Links weapon to an eweapon while it is in close proximity to enemies, or this one's probably better: Change the lweapon to a bomb type as simlar to the above.
What do you think?
This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.
lweapon->HitHeight = 0;lweapon->HitWidth = 0; should work.
Wouldn't that just make the collision happen at the up-left corner of the lweapon?
Avatar: Just who the SPAAAACE do you think I am?
So I take it making them negative is out of the question entirely.
Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
ZeldaGuard - Corruption in my save files? It's more likely than you think!
I do script requests!
I'm pretty sure if it has hitheight and width of 0 it can still hit an enemy, but don't quote me on that.
Why'd you need one that goes through an enemy though?
Is it just a decoration?
The real solution:
Code:weapon->HitXOffset = 2000; // Or some high number.
There are currently 1 users browsing this thread. (0 members and 1 guests)