Author Topic: Walkthrough Problem with "modify-variable"  (Read 2034 times)

0 Members and 1 Guest are viewing this topic.

Offline Kon

  • 26
    • KonQuesting on Twitch
Walkthrough Problem with "modify-variable"
OK, I'm using Retail and I'm in Part 2 of the NTF Attack, and I'm making the event "Sleipner 1 done" where the first transport unloads the marines, undocks, and adds 1 dock to the DockCount variable. I'm up to the part where I add "modify-variable". When I add that op, instead of just the one line with the variable, and then being able to add a "+", as shown in the walkthrough, I get a 2 argument op, and am not able to add the "+". I think this is just something that was changed in FRED2 between the writting of the walkthrough and release, and I think I just put "1" in the second argument, but I would like to make sure. Here's a bad quality pic of what I get.




EDIT: I went ahead and put the "1" there, but now when I'm doing the "going in" events for Sleipner 2, 3, and 4, what do I put for the "is-event-true-delay"? Thanks.
« Last Edit: July 28, 2006, 09:46:53 pm by SSX-Kahn »

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Walkthrough Problem with "modify-variable"
If you want to do "add one to the dockcount variable", then you should do:

modify-variable
--DockCount(0)
--+
----DockCount(0)
----1

If you do

modify-variable
--DockCount(0)
--1

then DockCount will always be set to 1, and will never be set to 2.

You have to use a trick. :) Triple-click on the 0 in that sexp, and it will let you type text.  Type a plus sign; then FRED will let you add the arguments.

 

Offline Kon

  • 26
    • KonQuesting on Twitch
Re: Walkthrough Problem with "modify-variable"
Ah, thanks Goober. :) It looks a bit odd, an op marked as an argument.  :wtf:

As for "when I'm doing the "going in" events for Sleipner 2, 3, and 4, what do I put for the "is-event-true-delay"? Thanks." I just put the "Sleipner <#> done" and I'm making those after the "going in" chain. Will it mess up if it's like that?

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Walkthrough Problem with "modify-variable"
You have to use a trick. :) Triple-click on the 0 in that sexp, and it will let you type text.  Type a plus sign; then FRED will let you add the arguments.

:wtf: I don't ever remember having to do that with retail.

In fact I've just checked with retail FRED. You can simply select the + operator from the popup list as expected.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Walkthrough Problem with "modify-variable"
As for "when I'm doing the "going in" events for Sleipner 2, 3, and 4, what do I put for the "is-event-true-delay"? Thanks." I just put the "Sleipner <#> done" and I'm making those after the "going in" chain. Will it mess up if it's like that?

Eh?  Doesn't the walkthrough tell you how to do it?

(I've never actually done the walkthrough. :nervous:)

 

Offline Kon

  • 26
    • KonQuesting on Twitch
Re: Walkthrough Problem with "modify-variable"
No, it didn't. What I did seems to work, however, the transports that are not docking just sit there not moving after they warp in, waiting to be shot. Sure, they fire back, but they make no effort to evade. Is something wrong?

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Walkthrough Problem with "modify-variable"
Nope. That's exactly the way the mission is scripted. If I were designing the mission I would have had the freighters make a staggered entry so that they could take turns docking but that would be harder for a new mission designer to they set up something easier to FRED :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]