Author Topic: add-sun-bitmap grayed out?  (Read 2234 times)

0 Members and 1 Guest are viewing this topic.

Offline Fury

  • The Curmudgeon
  • 213
add-sun-bitmap grayed out?
Why are add-sun-bitmap and add-background-bitmap always grayed out on fred2_open 3.6.10 rc2? What are the prerequisites to get them working? Their remove-variations do work.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: add-sun-bitmap grayed out?
You have to define a variable first for either add bitmap sexp as it returns a value to store to the variable.
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: add-sun-bitmap grayed out?
I'm thinking about making that variable an optional argument for just this reason. You don't really need it except if you later want to remove that bitmap.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: add-sun-bitmap grayed out?
Even then it's usually easier to just keep track of it manually and remove it that way. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Fury

  • The Curmudgeon
  • 213
Re: add-sun-bitmap grayed out?
You have to define a variable first for either add bitmap sexp as it returns a value to store to the variable.
Uh, how can I define a variable if I can't select the sexp in the first place?

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: add-sun-bitmap grayed out?
Right click on any event/sexp/etc and add variable. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Fury

  • The Curmudgeon
  • 213
Re: add-sun-bitmap grayed out?
Ah, so THAT'S what it needs to work. Thanks.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: add-sun-bitmap grayed out?
I'm thinking about making that variable an optional argument for just this reason.

And after taking a look at it, I've decided not to do it.

You wouldn't believe the sheer amount of new code it would require to make this work! :rolleyes:
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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