Author Topic: destroyed-or-diabled-delay: Is this a bug?  (Read 2214 times)

0 Members and 1 Guest are viewing this topic.

destroyed-or-diabled-delay: Is this a bug?
I have just spent four hours this weekend attempting to debug a mission, and the reason for it not working was because destroyed-or-disabled-delay was not working the way I though it would. :mad:  I thought that it would work like this:

Or
  - Is-Destroyed-Delay
      Ship X
      0
  - Has-Departed-Delay
      Ship X
      0

which is what you would expect from the description. However, in all cases that I tested, the above Or sexp returned a value of true when it should have done, when destroyed-or-disabled-delay did the sqare root of naff all (Replace with suitable swearword). Have I found a bug?

Incidentally, I am posting this here as I know that I will get intelligent answers.

 

Offline HotSnoJ

  • Knossos Online!
  • 29
    • http://josherickson.org
destroyed-or-diabled-delay: Is this a bug?
Welcome to HLPBB

(img)http://www.insert-beam-url-here.com(/img)
« Last Edit: December 09, 2002, 11:57:13 am by 516 »
I have big plans, now if only I could see them through.

LiberCapacitas duo quiasemper
------------------------------
Nav buoy - They mark things

 

Offline Stealth

  • Braiiins...
  • 211
destroyed-or-diabled-delay: Is this a bug?
the image doesn't work HotsnoJ

are you a beta tester?  are you on the teser list?

 

Offline HotSnoJ

  • Knossos Online!
  • 29
    • http://josherickson.org
destroyed-or-diabled-delay: Is this a bug?
Quote
Originally posted by HotSnoJ
Welcome to HLPBB

(img)http://www.insert-beam-url-here.com(/img)


Fixed. Note this is a joke. Maybe I should make my own "Beam".
I have big plans, now if only I could see them through.

LiberCapacitas duo quiasemper
------------------------------
Nav buoy - They mark things

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
Re: destroyed-or-diabled-delay: Is this a bug?
Quote
Originally posted by Cuttenslise


Or
  - Is-Destroyed-Delay
      Ship X
      0
  - Has-Departed-Delay
      Ship X
      0



im confused, clarification is a virtue :).

In that sexp, do you mean disabled or departed, since you refer to disabled in topic. If you use departed instead of disabled, then there is your bug.

second: if Departed is not a mistake, well then you dont need to use OR since there is a destroyed-or-departed-delay, that is if the it is regarding the same ship.

Quote

in all cases that I tested, the above Or sexp returned a value of true when it should have done, when destroyed-or-disabled-delay did the sqare root of naff all [/B]


What on earth are you talking about :).

take your time when asking, please make sure that you know that other people will understand what your problem is. I have tried understanding exactly what your problem is, but i can´t make sense of it.
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

  

Offline HotSnoJ

  • Knossos Online!
  • 29
    • http://josherickson.org
destroyed-or-diabled-delay: Is this a bug?
Ya! Finally found it.



Welcome to HLP. Please take note of the exits to the rear, left and front, but I wouldn't take that one, as that's where Carl is. But don't be put off by the five legs, mean temper and plasma beam - he's really an OK guy...kinda. Under your seat you will find flamethrowers, the now defunct Shotguns, and under a few my very illegal ML-9000 laser. Please take note that while this weapon [ML-9000] is very good at killing shivans (sorry Carl) it does have a nasty kickback to it.
I have big plans, now if only I could see them through.

LiberCapacitas duo quiasemper
------------------------------
Nav buoy - They mark things

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
destroyed-or-diabled-delay: Is this a bug?
Destroyed-or-disabled-delay is not a sexp, Destroyed-or-departed-delay is and works
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 
Re: Re: destroyed-or-diabled-delay: Is this a bug?
Quote
Originally posted by DTP



If you use departed instead of disabled, then there is your bug.






Oops, clanger. Destroyed-or-departed-delay is what I should have written. To err is human...

One of those days...

Anyway, Destroyed-or-departed-delay does not work in the same way as the Or statement I described earlier, or at least it didn't in my mission. I had to use the previously described Or statement to do what I needed.

PhReAk says that it works, but it didn't for me.

 
destroyed-or-diabled-delay: Is this a bug?
You are right DTP, this is far too confusing. I shall ask the moderator to close this thread, and open a new one with the correct information.

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
destroyed-or-diabled-delay: Is this a bug?
Probably could have just changed the topic in the first place....but alas....I shall close it.
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."