Difference between revisions of "ActivateActivator"

From Superboss Games Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
== Usage ==
 
== Usage ==
  
 +
The [[ActivateActivator]] is used to turn activators on non-conventionally (i.e Without being shot, or pressing use, etc.) It is a script that can be adhered to an object in the same way an activator can.
 +
 +
The [[ActivateActivator]] can be applied to an animated object. Create an animation and create an event somewhere in the timeline (keep in mind the [[ActivateActivator]] wont work until the animation reaches the event).
 +
 +
[[File:Annotation 2020-04-04 205710.png|400px]]
 +
 +
After the animation is created be sure to go to the animation tab and connect the default state to the exit state.(Rightclick and add transition, and connect it to exit)
 +
 +
[[File:step2.png|400px]]
 +
 +
The final step is to assign the event to an action. This can be done by clicking the event in the animation timeline.
 +
 +
[[File:Annotation 2020-04-04 210443.png|400px]]
 +
 +
Click the event and it should appear in the Unity inspector tab. Set the function to activate all.
 +
 +
[[File:activateall or activate int.png|400px]]
 +
 +
Setting it to activate int. means it will activate the activator corresponding to the number within the size input field.
 +
 +
[[File:size and int.png|400px]]
 +
 +
For instance: Activating int. 3 in the animation event corresponds to activating the third within the [[ActivateActivator.]]
  
 
== Demo ==
 
== Demo ==
  
 +
{{Template:IntruderMM Assets}}
  
 
[[Category: IntruderMM]]
 
[[Category: IntruderMM]]

Latest revision as of 22:45, 4 April 2020

This article is a stub about ActivateActivator. You can help the Intruder wiki by expanding it.


Introduction

ActivateActivator is a script that can toggle the use of an Activator

History

Usage

The ActivateActivator is used to turn activators on non-conventionally (i.e Without being shot, or pressing use, etc.) It is a script that can be adhered to an object in the same way an activator can.

The ActivateActivator can be applied to an animated object. Create an animation and create an event somewhere in the timeline (keep in mind the ActivateActivator wont work until the animation reaches the event).

Annotation 2020-04-04 205710.png

After the animation is created be sure to go to the animation tab and connect the default state to the exit state.(Rightclick and add transition, and connect it to exit)

Step2.png

The final step is to assign the event to an action. This can be done by clicking the event in the animation timeline.

Annotation 2020-04-04 210443.png

Click the event and it should appear in the Unity inspector tab. Set the function to activate all.

Activateall or activate int.png

Setting it to activate int. means it will activate the activator corresponding to the number within the size input field.

Size and int.png

For instance: Activating int. 3 in the animation event corresponds to activating the third within the ActivateActivator.

Demo

IntruderMM Assets
Items Name
Prefabs BriefcaseProxy - CustomDoorProxy - DoorProxy - EquipmentManager - GlassProxy - GoalPointProxy - Keypad - Ladder - LockedObject - MortarProxy - Mover Parent - NoteProxy - ObserveCamProxy - Pickup - RandomGunPickup - RandomItemPickup - SecuritySetup - SlidingDoor - SpawnA - SpawnB - WaterLevel - WindProxy - ZipLine - Limits
Scripts ActivateActivator - Activator - AdvancedMaterial - AnimateColor - BriefcaseProxy (Script) - CustomDoorProxy - CustomLevelSettings - CustomMapSkins - DestructibleProxy - DoorProxy - EquipmentManager - GlassProxy - GoalPointProxy - GravityProxy - HideOnStart - IgnoreSticky - KeypadProxy - LayerProxy - LockedObject - MaterialManager - MortarProxy - Mover - NoteProxy - ObjectiveTabSettings - ObjectTagger - ObserveCamProxy - PickupProxy - PlayAudio - ReplaceAll - ResetProxy - ScrollingUVs - SecurityRoom - SecurityScreen - SetTagsAndLayers - SoundSettings - TimedObjectDestroyer - TuningProxy - WindProxy - World Screen Object - ZiplineProxy
Level/Maps Target - SniperRange - Demo