![]() |
Baddy Bug
Hey, I was just making a script for having baddies drop random stuff, but it doesn't seem to work. I have tried killing the baddies multiple times to get out of the random situation, but it will not drop anything! Can anyone shed any light on this? Oh, and here's the script:
NPC Code: |
first thing; pi is a built-in variable so don't try to assign a value to it
second; baddymode 9 is really hard to check, dunno why though |
Quote:
|
I don't beleive it... it still doesn't work! Hey, if Kai or someone could help me out here, that would be great. Here is the revised script:
NPC Code: |
You're checking for mode 9...? Um... have you ever tried putting a timeout to display the baddy's mode? 5 is dying, not 9.
|
Quote:
|
Quote:
|
you can get around that multiple drop situation when checking for 5 quite simply
|
Quote:
|
Ah, I made a mistake in my script. Instead of putting 'message Baddy mode is #v(compus[0].mode).;' I put 'message Baddy mode is #v(compus[0].0).;' by accident. And you're right, there doesn't seem to be a 9 in there. Oh, and while expirementing, I did this script:
NPC Code: Just one long line of code:D. Can anyone guess what it does? (It's pretty easy) |
I wouldn't call it a guess, but it makes the baddies into zombies (their hearts still go down, but they never die)
|
| All times are GMT +2. The time now is 11:13 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.