I am trying to change a 3D sector's lighting via a script, but nothing seems to work. I have tried both the Sector_SetColor as well as the Sector_SetFade specials. I did a search on the forums and came across a rather old post, which indicated that at least a remotely similar problem had been fixed. (And yes, I am assigning a sector tag to the control sector and using that tag in the script.)
If someone knows how to change a 3D sector's color via a script please post it here and I will analyze it to see what I'm doing wrong. Thanks.
Changing 3D sector colored lighting mid-game?
Moderator: Graf Zahl
-
- Developer
- Posts: 2662
- Joined: Tue Jul 11, 2006 18:36
-
- Stronghold Team
- Posts: 210
- Joined: Fri Aug 01, 2008 23:07
- Location: Aus
Re: Changing 3D sector colored lighting mid-game?
Im not sure if I did what you did, as the attachment to this post changes the color of the 3d sector and the sector the 3d floor is in sucsessfuly.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 408
- Joined: Tue Sep 13, 2005 0:47
- Location: British Columbia Canada
Re: Changing 3D sector colored lighting mid-game?
I came up with this, maybe it will fill the bill
You do not have the required permissions to view the files attached to this post.
-
- Developer
- Posts: 2662
- Joined: Tue Jul 11, 2006 18:36
Re: Changing 3D sector colored lighting mid-game?
Thank you guys for helping. I am traveling at the moment, and I'll check out the files as soon as I get a chance.