View previous topic :: View next topic
Author
Message
woodmouse Skinner Joined: 19 Apr 2008 Age: 13 Posts: 2822 Location: Finland
Posted: Wed Apr 30, 2008 9:08 pm Post subject: What's wrong!?
I'm now doing a weapon as "Death Scythe" It is based on... Someone's... Scythe and the script is like this: What's wrong?
Code: //This manages attack speed (Adjusted by strenght and dexterity)
IfUsed
SetTargetToWhoeverIsHolding
tmpargument = targetdex > 9 //Every 2 points of dex increases speed by 1
tmpargument = 60 - tmpargument
SetReloadTime
// ZZ> This function makes an item fall to the floor when spawned
IfSpawned //
tmpargument = ACTIONJB //
DoAction //
KeepAction //
MakeCrushValid
IfCrushed
tmpx = selfx
tmpy = selfy
tmpdistance = selfz
tmpargument = 1
SpawnExactParticle
SpawnExactParticle
SpawnExactParticle
SpawnExactParticle
GoPoof
tmpargument = 1
SendMessageNear
IfDropped // Make it lie on floor
KeepAction //
IfHitGround // Make a sound
tmpargument = 1 //
tmpdistance = rand & 2047 + 10000 //
PlaySound //
IfTakenOut // Make a sound
tmpargument = 2 //
tmpdistance = rand & 2047 + 10000 //
PlaySound //
SetTargetToWhoeverIsHolding //
IfTargetIsAPlayer //
tmpargument = 2 //
SendMessageNear //
IfGrabbed // Tell them what they've won...
SetTargetToWhoeverIsHolding //
IfTargetIsAPlayer //
tmpargument = 0 //
SendMessageNear //
IfUsed
SetTargetToNearestEnemy
KillTarget
IfUsed
SetTargetToNearestAlly
IfTargetIsDead
RespawnTarget
IfTargetIsOnSameTeam
HealTarget
End // All done
_________________
Back to top
Agent of Dread lolwut?? (Moderator) Joined: 23 Sep 2007 Age: 11 Posts: 4168 Location: Yoowarpii, Doloosar
Posted: Wed Apr 30, 2008 9:11 pm Post subject:
I dunno, but it seems like, to put it modestly, you're putting a LITTLE too much powers in that thing... _________________ ...i c whut u did thar...
♪♪"Cold, tough, and enough"♪♪
Link
Back to top
woodmouse Skinner Joined: 19 Apr 2008 Age: 13 Posts: 2822 Location: Finland
Posted: Wed Apr 30, 2008 9:12 pm Post subject:
Maybe, but it should be the ultimate weapon of the angels created with millions of people sacrificed in it. _________________
Back to top
Agent of Dread lolwut?? (Moderator) Joined: 23 Sep 2007 Age: 11 Posts: 4168 Location: Yoowarpii, Doloosar
Posted: Wed Apr 30, 2008 9:13 pm Post subject:
And you give it the power to KillTarget. _________________ ...i c whut u did thar...
♪♪"Cold, tough, and enough"♪♪
Link
Back to top
woodmouse Skinner Joined: 19 Apr 2008 Age: 13 Posts: 2822 Location: Finland
Posted: Wed Apr 30, 2008 9:14 pm Post subject:
Yes. Because it absorbs the soul. I think that it needs an effect for that, but I don't know how to do it... _________________
Back to top
Clonkinator Master Frying Pen (Moderator) Joined: 03 Nov 2007 Age: 15 Posts: 3043 Location: Germany
Posted: Wed Apr 30, 2008 9:18 pm Post subject:
Could you post it in a [code]-tag please? It's rather hard to read that script without all the spaces. _________________ Yes, it's true. I fail. Epicly so.
Back to top
woodmouse Skinner Joined: 19 Apr 2008 Age: 13 Posts: 2822 Location: Finland
Posted: Wed Apr 30, 2008 9:19 pm Post subject:
What code? _________________
Back to top
penguinflyer5234 Penguin King Joined: 01 Feb 2008 Age: 14 Posts: 1555 Location: Somewhere in this universe.
Posted: Wed Apr 30, 2008 9:40 pm Post subject:
The [code][/code] tags _________________
Play Frozen Bubble
Back to top
woodmouse Skinner Joined: 19 Apr 2008 Age: 13 Posts: 2822 Location: Finland
Posted: Wed Apr 30, 2008 9:41 pm Post subject:
There is not that kind of text file... _________________
Back to top
Agent of Dread lolwut?? (Moderator) Joined: 23 Sep 2007 Age: 11 Posts: 4168 Location: Yoowarpii, Doloosar
Posted: Wed Apr 30, 2008 9:43 pm Post subject:
Fixed. _________________ ...i c whut u did thar...
♪♪"Cold, tough, and enough"♪♪
Link
Back to top
woodmouse Skinner Joined: 19 Apr 2008 Age: 13 Posts: 2822 Location: Finland
Posted: Wed Apr 30, 2008 9:45 pm Post subject:
Where did you fix? What did you fix? When did you fix? _________________
Back to top
Agent of Dread lolwut?? (Moderator) Joined: 23 Sep 2007 Age: 11 Posts: 4168 Location: Yoowarpii, Doloosar
Posted: Wed Apr 30, 2008 9:45 pm Post subject:
Open the hidden content in your first post. _________________ ...i c whut u did thar...
♪♪"Cold, tough, and enough"♪♪
Link
Back to top
woodmouse Skinner Joined: 19 Apr 2008 Age: 13 Posts: 2822 Location: Finland
Posted: Wed Apr 30, 2008 9:48 pm Post subject:
Still SCRIPT ERROR... _________________
Back to top
penguinflyer5234 Penguin King Joined: 01 Feb 2008 Age: 14 Posts: 1555 Location: Somewhere in this universe.
Posted: Wed Apr 30, 2008 9:49 pm Post subject:
Could you tell us what the error is? _________________
Play Frozen Bubble
Back to top
woodmouse Skinner Joined: 19 Apr 2008 Age: 13 Posts: 2822 Location: Finland
Posted: Wed Apr 30, 2008 9:50 pm Post subject:
import/temp0002.obj/script.txt - SetTargetToNearestAlly undefined
import/temp0002.obj/script.txt - IfTargetIsDead undefined _________________
Back to top