CJC
06-20-2008, 10:06 PM
Despite my repeated visits to the wiki, I cannot seem to wrap my head around the weapon functions of Zscripting, especially those that make a weapon spawn and vanish.
Also, though I have tried many times, my attempts to create larger enemies and control only a portion of enemy movement have failed.
So, I thought I'd ask for some basic help so I can branch into more advanced scripting.
I need:
For the weapons:
An lweapon that functions like the sword stab, but remains so long as variable FOO is of a certain value. This weapon is to inflict 1 damage.
An eweapon that also functions like the sword stab, which is more difficult because all eweapons are projectile. Also, if it could be linked to another in front of it (Two in a row, a 1x2 weapon), that would be super.
An eweapon that mimicks a Link slash attack. It would be preferred if the code allowed for weapon animation, but is not a requirement.
For the enemies:
A script that spawns the first enemy specified to the first enemy flag on screen (Or to the coordinates of a specified enemy flag).
A script that forces several enemies to move and animate with the specified enemy, and share its hit points. These enemies would be set to "Other", and should be compatible with gravity.
A script that makes an enemy perform a certain action (Specifically, attack) after pausing. I really don't want this to operate standard enemy movement (Like random walking/turning/speed), but if that is impossible then so be it.
Any help at all is appreciated.
Also, though I have tried many times, my attempts to create larger enemies and control only a portion of enemy movement have failed.
So, I thought I'd ask for some basic help so I can branch into more advanced scripting.
I need:
For the weapons:
An lweapon that functions like the sword stab, but remains so long as variable FOO is of a certain value. This weapon is to inflict 1 damage.
An eweapon that also functions like the sword stab, which is more difficult because all eweapons are projectile. Also, if it could be linked to another in front of it (Two in a row, a 1x2 weapon), that would be super.
An eweapon that mimicks a Link slash attack. It would be preferred if the code allowed for weapon animation, but is not a requirement.
For the enemies:
A script that spawns the first enemy specified to the first enemy flag on screen (Or to the coordinates of a specified enemy flag).
A script that forces several enemies to move and animate with the specified enemy, and share its hit points. These enemies would be set to "Other", and should be compatible with gravity.
A script that makes an enemy perform a certain action (Specifically, attack) after pausing. I really don't want this to operate standard enemy movement (Like random walking/turning/speed), but if that is impossible then so be it.
Any help at all is appreciated.