Editing
Games:Halo 5: Guardians/Forge/Scripting/4. 'Numbers'
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Numbers & Action Target Filtering== *Most scripting actions have action target filters so being able to filter spawned objects (and players) in different ways is very useful and numbers might be the most useful since they can be changed and mathematically manipulated *Global and Team numbers don't have any spawnable objects associated with them, so they can't be used within action target filters (only objects spawned on the map get returned by the filters) *Global and Team are readable by Number Check and Number/Score/Spawn Order Change *Team numbers seem to be available even when that team isn't present so those numbers can be used like global numbers, especially Teams 5-8 *The Number mod filters don't have a channel setting, but the player {alpha} channel is the one that filters work with. This means in order to use, for example, Number[include] for players, players must have that number on the alpha channel. We cannot filter barvo-zulu player channels. *For objects, they only have 1 number so no channels to select. <span style="text-size: 15px"> ===Number Mod Filters=== *The Number [include/exclude] filters seem to only accept numbers from 0 to 64, so the other Number filters will generally be more useful *Number THIS/ACTIVATOR [include/exclude] filters for objects that have numbers that match the THIS or ACTIVATOR object number. *Order THIS/ACTIVATOR Number [include/exclude] filters for objects that have a Spawn Order that match the THIS or ACTIVATOR object number. *There is no filter to search for objects with a number that matches the THIS/ACTIVATOR spawn order <span style="text-size: 15px"> ===Conditions With ACTIVATORS=== *Message: ACTIVATOR returns either the object that was the last one to execute the message or the ACTIVATOR of the script that executed the message (user selects THIS or ACTIVATOR when the condition produces an ACTIVATOR object) *Power State: Same as Message *NOTE: Message Send/Power Set only seem to pass along an object when the THIS/ACTIVATOR option is available for certain conditions. The THIS object is not sent by default. If you want an object to send a message without having to use Boundary Check or Interacted, try using Power=ON and have the object check for Power=ON and then have it use Power=OFF and send THIS with it. *NOTE: The 1st Message Send or Power Set in a series that starts with Message/Power does not send THIS/ACTIVATOR with it, but later ones do. *Interacted: ACTIVATOR returns the player that interacted with the switch or power up *Boundary Check: ACTIVATOR returns the object only when it enters or exits the boundary (no longer continuously returns objects inside a Continuous Boundary), EXTRA returns all the qualifying objects (based on the Filter and object's Team settings) within the boundary. Both ACTIVATOR & EXTRA seem accessible as ACTIVATOR in actions that let us get number or game value info from objects. *Number Check: EXTRA returns the object (or players) that passed the check requirement (which is a good way to filter a player) *Number Check does not have an ACTIVATOR object, but the Object setting with the ACTIVATOR option does appear when Number/Object or Game Value is selected for the Source property, and ACTIVATOR represents the EXTRA object for this case (this is how to get player/object scope numbers, health, shields, scores, etc)
Summary:
Please note that all contributions to [DEV] Forgehub Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
DEV Forgehub Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Games
Discussion
English
Views
Read
Edit
View history
More
Search
Games:
Halo 2: Anniversary
Forge
Guides & Tutorials
Frame Rate
Static Weapon Timers
Scripting
Sandbox
Vehicles
Weapons
Halo 3
Forge
Forge Canvases
UI & Controls
Spawning
Match Making
Official Maps
Community Maps
Sandbox
Weapons
Equipment
Vehicles
Halo 4
Forge
Forge Canvases
Lighting
UI & Controls
Spawning
Matchmaking
Official Maps
Community Maps
Sandbox
Game Modes
Weapons
Armor Abilities
Vehicles
Ensuring Level & Game Mode Compatibility
Halo 5: Guardians
Forge
Audio
FX Objects
Forge Canvases
Lighting
Scripting
1. Conditions
2. Actions
3. Mod Selection Filters
4. 'Numbers'
5. Scripting Gameplay Elements
6. Resources for Scripters
7. Video Tutorials
UI & Controls
Spawning
Matchmaking
Official Maps
Community Maps
Action Sack
Big Team Battle
Breakout
Community Doubles
Community Slayer
Extermination
Ghost in the Shell
Grifball
Halo 1 Anniversary Throwback Playlist
Halo 3 Classic Throwback
Halo Championship Series (HCS)
Head to Head
Husky Raid
Infection
Mythic Arena
ODST Slayer
Roaming King
Social Slayer
Sandbox
Weapons
Spartan Abilities
Vehicles
Halo: Infinite
Forge
Audio
FX Objects
Forge Canvases
Lighting
Scripting
UI & Controls
Spawning
Matchmaking
Official Maps
Community Maps
Sandbox
Game Modes
Weapons
Equipment
Vehicles
Custom Game Editor Options
Halo: Reach
Forge
Forge Canvases
Object Tagging
Tagging Chart
Unorthodox Tagging
UI & Controls
Spawning
Sandbox
Game Modes
Weapons
Armor Abilities
Vehicles
Visual Aides for each Game Mode
ForgeHub:
Game & Level Design
Level Design
Multiplayer Level Design Fundamentals
Games
Support
Getting Help
Wiki Index
Tools
What links here
Related changes
Special pages
Page information