Hey folks, 
I was wondering, would it be possible to deactivate an activated extension, in my case a repair_station_ext spawning 3 medics?
The extension is being activated via a toggle ability, however the medics won't be despawned, or rather, the whole extension won't be deactivated after the ability is toggled off. I tried to disable it via the end_self_actions in the abilities action_list, but appearantly there are no functions to properly deactivate an extension.
So, does anybody know, is there maybe a way?
			Deactivate an activated extension (repair_station_ext)?
									30 Jun 2016, 17:02 PM
				
	#1					
								
					
				
		
Posts: 84
									30 Jun 2016, 21:16 PM
				
	#2					
								
					
				
		
 
    		            							
			    		Posts: 245
Yep also happens to me. I tried in the past to do something similar with my ambulance and I failed.
I am curious too about this if someone have an answer for this.
			
		I am curious too about this if someone have an answer for this.
									1 Jul 2016, 11:26 AM
				
	#3					
								
					
				
		
 
    		            							
			    		Posts: 817 | Subs: 5
It's not a solid solution, but it works for me:
I made a building with two types of extensions, engineers en medics. Each building can have one extension, so I made a second invisible building which is spawned in the first building. The players won't see the difference
Create an invisible building (or take a really small model like binoculars) with an extension and spawn and delete it with the toggle abilty. You can use the filter_action to remove the building within 1 meter so it works when you have more of the same building. The extension-members will be removed aswell when you delete the building.
I hope this helps.
			
		I made a building with two types of extensions, engineers en medics. Each building can have one extension, so I made a second invisible building which is spawned in the first building. The players won't see the difference

Create an invisible building (or take a really small model like binoculars) with an extension and spawn and delete it with the toggle abilty. You can use the filter_action to remove the building within 1 meter so it works when you have more of the same building. The extension-members will be removed aswell when you delete the building.
I hope this helps.
									1 Jul 2016, 13:12 PM
				
	#4					
								
					
				
		
Posts: 84
Sounds promising, interesting approach. In the filter action on end_self_actions of the toggle ability, which function would you use to despawn the fake entity though?
			
		
									1 Jul 2016, 13:43 PM
				
	#5					
								
					
				
		
 
    		            							
			    		Posts: 817 | Subs: 5
I use: Trigger_critical_action > supply_drop_blow_up
This works for the model: environment\objects\market\crates_wood_open_s_01\crates_wood_open_s_01
The fake entity has the filteraction to look if it's near the real entity. Then it runs this action on itself.
			
		This works for the model: environment\objects\market\crates_wood_open_s_01\crates_wood_open_s_01
The fake entity has the filteraction to look if it's near the real entity. Then it runs this action on itself.
PAGES (1)
		
	1 user is browsing this thread: 
	1 guest	
	
		
	
Livestreams
|   |   |   | 17 | ||
|   |   |   | 9 | ||
|   |   |   | 4 | 
Ladders Top 10
- 
							#Steam AliasWL%Streak
- 1.46167.873+3
- 2.780131.856+1
- 3.13961.695+3
- 4.400212.654+2
- 5.327117.736+4
- 6.325146.690-1
- 7.494319.608+5
- 8.856232.787+3
- 9.735445.623+2
- 10.269142.655+10
Replay highlight
VS
					- 
									 cblanco ★ cblanco ★
- 
									 보드카 중대 보드카 중대
- 
									 VonManteuffel VonManteuffel
- 
									 Heartless Jäger Heartless Jäger
 
											
						Einhoven Country
						
							
								
									 
								
								 
								
								
				 
								
								Honor it
								15
							
						
						
												
							
								
									 
								
								Download
								2698
							
						
												
					Board Info
						594 users are online:
									594 guests
					
		
			0 post in the last 24h
5 posts in the last week
23 posts in the last month
		
		5 posts in the last week
23 posts in the last month
			
			
				Registered members: 61387
Welcome our newest member, kqbdhomnaynet
Most online: 2195 users on 29 Sep 2025, 11:39 AM
	Welcome our newest member, kqbdhomnaynet
Most online: 2195 users on 29 Sep 2025, 11:39 AM
 
	 
			 
			 
 
 
  
										 
									 
  
  
 
 
						 
						 
						 
						 
						 
						 Relic Entertainment
						 Relic Entertainment