Discussion: Natural Selection / Natural Selection - Map Development - multisource and func_button interaction - If we're going to be doing a power resupply dynamic with the map, I thought
If we're going to be doing a power resupply dynamic with the map, I thought this would be useful to you guys.
A note (excerpted from the multisource article on the valve erc):
Originally Posted by Steven 'SEThorian' van de Graaf
Thu Aug 11, 2005 / 02:40pm PDT
MULTISOURCE ADDITION: FUNC_BUTTON BUG
When giving a func_button a multisource entity as a master (in order to not have the button usable until the multisource has been triggered) will result in the button to be automatically triggered when its multisource master is triggered. Thus for instance:
You want a button to be usable after the power switch has been activated. Normally you would make the power switch target the multisource which in its turn would enable the button to be usable. Though it's supposed to work like this, it doesn't. Like mentioned before, the button will be triggered as soon as the multisource is triggered.
How to solve this bug
To my knowledge, there isn't an actual solution, but there is a workaround.
Make the func_button target something non-existant (for instance; give it a target of "evil_kittens_for_world_domination") and instead of a multisource, make the power switch target a trigger_changetarget.
In the target field of the trigger_changetarget, enter the name of the func_button. In the New Target field, enter the name of the entity that you want the func_button to trigger. (For instance a level change.)
Now, the func_button won't trigger the level change until the power switch has been hit and the func_button used afterwards.
Ideally, you can make the func_button originally target a speaker or ambient_generic entity so that when it's used before the trigger_changetarget is triggered, it will give off a "buzz off" sound or "Access Denied!" announcement. In the case of the speaker entity, make the trigger_changetarget killtarget the speaker entity.
comment modified on Thu Aug 11, 2005 / 02:42pm PDT
Help test the next release of PR!
On behalf of the Project Reality development team and the Tactical Gamer administration we are pleased to announce that the next release of Project Reality ArmA2 is...
Posted By PaintScratcher (1 Comments)
02-07-2012, 11:06 PM
Dreams
Have you ever had a dream? Ever wanted to make a game or see a game made that gave you the ultimate playground experience? Was that dream linked to space exploration? Well one person had that...
Posted By DamionRayne (2 Comments)
01-28-2012, 10:37 PM
Yes folks I know we're a "tactical" gaming site but I wanted to share with you this news about a "strategic" level game that I myself have been enjoying.....
Epsom , UK , January 20th, 2011 –...
Posted By Warlab (0 Comments)
01-20-2012, 04:30 PM
OPERATION DEEP DAGGER and OPERATION IDYLLIC AUTUMN
BOTH START IN FEBUARY AT TG!
How would you like to play a mission series where the choices you make this week affect the mission you will play...
Tactical Gamer Podcast Series - TG Cast : Episode Three
In this episode of TG Cast, host DrBeat reboots the series with news, an interview with Oneill the Ribbons Manager, and hits the newly...
Posted By DrBeat (3 Comments)
01-06-2012, 12:51 PM
Today I will create and upload my 100th video for the 1stMIP YouTube Channel in the BF3 series.
Sometimes I wonder if the videos effect the way people think about, and play, the game. Here is...
Posted By E-Male (2 Comments)
02-08-2012, 12:05 PM in E-Male
Bookmarks