Documentation & Tutorials
  • Pivec Labs Documentation & Tutorials
  • Assets for Game Creator 1
    • Action Pack 1
      • Action List
        • Misc Actions
        • Object Actions
        • TMP Actions
      • Examples
        • Example 1 TMP
        • Example 2 Objects
        • Example 3 Actions
    • Action Pack 2
      • Action List
        • Camera Actions
        • Graphics Actions
        • Audio Actions
        • Video Actions
      • Triggers
      • Components
      • Examples
        • Example 1 - Camera
        • Example 2 - Camera FPS
        • Example 3 - Graphics
        • Example 4 - Sounds
        • Example 5 - Audio Player
        • Example 6 - Video Player
    • Action Pack 3
      • Action List
        • Day/Night Cycle
        • Light Control
      • Components
      • Examples
        • Example 1 - Day Night Cycle
        • Example 2 - Light Control
    • Accessibility Module
      • Components
      • Setup
      • Auditory Aids
        • Closed Captions for Sounds
        • Volume Control with Tags
        • Multiple Volume Controls
      • Motoric Aids
        • Configurable Tank Camera
        • On-Screen Multi-Function Joystick
        • Dynamic Touchstick
        • Multi-Function Touchstick
      • Cognitive Aids
        • Parental Controls with Password
        • Dyslexia Font Options
        • Motion Sickness Prevention
        • Gameplay Speed and Sensitivity
      • Visual Aids
        • Colour Picker
        • Variable Text Size
        • Object Outlining
        • Colour Switching
        • Colour Correction
    • Mobile Components
      • Actions
        • Haptics
        • Camera
        • TouchSticks
        • Gyroscope
        • Utilities
      • Triggers
        • Touch Gestures
      • Conditions
      • Components
      • Prefabs
      • Examples
        • Example 1 Haptics
        • Example 2 Cameras
        • Example 3 Gestures
        • Example 4 Controls
        • Example 5 Steering Wheel/Pedals
        • Example 6 Gyroscope Controls
        • Example 7 Gyroscope Camera
        • Example 8 Utilities
        • Example 9 AutoRun
      • Extras
    • UI Components
      • Canvas Components
        • Canvas Animations
        • 3D Models on a Canvas
        • Video on a Canvas
      • Animating UI Elements
        • Cross Fade Elements
        • Slide Elements
        • Shake UI Element
        • Tooltips
      • Text Mesh Pro & uGUI Text
      • Colour Picker Component
      • Mini Map Component
        • MiniMap QuickStart
        • Fullscreen Map
        • Adding Markers
        • Adding Labels
      • System Info Panel
        • SysInfo Quickstart
        • Using SysInfo Toggle
      • Main Menu Templates
        • Customising the Prefabs
        • Load/Save System
        • Comic Strip Example
    • Developer Tools
      • Time Manager
        • Actions & Conditions
      • Waypoint System
      • Click to Spawn Objects
      • In-Game Console
      • In-Game Screen Capture
    • Turn Based Module
    • VR Module GC1
  • Assets for Unity
    • Developer Tools for Unity
      • Click to Spawn
      • In-Game Screen Capture
      • In-Game Console
    • Mini Map System
      • MiniMap Quickstart
      • Map Parameters
      • Adding Makers
  • Tutorials
    • Tutorials for Game Creator 1
      • Installing and Updating Modules
      • Adding Actions to the Button Bar
      • Changing the Graphics for TouchStick
      • Adding Passwords to Player Actions
      • Using the Colour Picker with Variables
      • Creating a 3D Inspection Panel for Game Objects
      • Customising the UI MiniMap
      • Creating a toggle for the SysInfo Panel
      • Simple Player Run on Left Shift Down
      • Pan Follow Camera with Keyboard
    • Tutorials for Unity
  • ANNEX
    • Roadmap
    • FAQ
Powered by GitBook
On this page

Was this helpful?

  1. Assets for Game Creator 1
  2. Action Pack 3
  3. Action List

Light Control

Action_Name

Description

Add Flashlight

This Action adds a Flashlight Component to the Camera or Player using a Spotlight. If it is added to the Player, the body part can be chosen. The color, intensity, and range can be set, and a cookie (mask) can be used for effects. 3 Sample cookies are included.

Toggle Flashlight

The Flashlight can be toggled on and off by adding this Action to a Trigger of your choice.

Change Light Settings

The Action changes Intensity, Color, and Range of a spot light or point light. Values can be obtained from variables.

Change Light Color

The Action changes the Color of a spotlight or point light. Values can be obtained from variables.

Change Light Halo

WIth is Action we can Enable and Disable a Halo Component on a Light Object. Hwoever, the light must have the Haloe Component already added. Color and intensity are not able to be changed at runtime.

Change Light Intensity

The Action changes the intensity of a spotlight or point light. Values can be obtained from variables.

Change Light Range

The Action changes the range of a spotlight or point light. Values can be obtained from variables.

Change Spotlight Angle

The Action changes the angle of where a spotlight is pointing. Values can be obtained from variables.

Spotlight Look At Object

With this Action, we can Rotate a Spotlight to look at or point to a Game Object such as the Player or any other object. The rotation will be immediate and an offset can also be set.

Spotlight Follow Object

We can Rotate a Spotlight to look at or point to a Game Object such as the Player or any other object and continue over time. The rotation will be immediate but if the object is moving, the light will follow the Object, and an offset can also be set. Update time can be set from a slider or a variable.

Spotlight Follow Object Stop

This Action Stops the Spotlight from following a Game Object and will leave it in the last rotated position.

Flicker Light Intensity

Flickering a Light on and off at random times will provide interesting effects. With this Action we have two settings. Minimum and maximum intensity, and Flicker. The Min/max flicker sets the time that the light will be on (max) and the time it will be off (min). The Action will choose a random time between these values.

Change Collider Size

Each Trigger has a collider sphere and the size of this can be changed using this Action. This allows for the new size to be set, and the length of time to grow or shrink the collider. When used inconjunction with a restart Action, the collider can grow and shrink with a spotlight (see Example 2)

PreviousDay/Night CycleNextComponents

Last updated 4 years ago

Was this helpful?