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!
===Number Checking Player Numbers=== The ''ONLY'' way to filter a single player with Number Check is to make sure that only that 1 player's NumVar passes the NumCheck! If multiple Players have their Number {channel} pass a NumCheck at the same time, ''ALL of them'' are placed into the EXTRA[add] mod list by Number Check This makes it a pain to READ a Player Number {channel} or Game Value... see the next section if you don't believe it! '''You MUST Make 1 (and only 1) Player's Number {channel} Pass A Number Check To READ That Player's Numbers Or Game Values!''' This is because only these Actions can read Player Number {channels} or Game Values: *Number Change *Score Change *Spawn Order Change Numbers or Game Values are only read in the '''<span style="text-decoration: underline;">CHANGE</span>''' section at the bottom of these Actions by choosing <span style="text-decoration: underline;">Source</span>=Number <span style="text-decoration: underline;">Scope</span>=Object '''<span style="text-decoration: underline;">Object</span>=ACTIVATOR''' <span style="text-decoration: underline;">Number</span>=Player + <span style="text-decoration: underline;">Channel</span>={channel} <span style="text-decoration: underline;">Source</span>=Game Value <span style="text-decoration: underline;">Game Value</span>={list}... player game values are: Score[player], Shields<3 types>, Health<3 types>, and Spawn Order '''<span style="text-decoration: underline;">Object</span>=ACTIVATOR''' Only 1 object (meaning Player) can be this Object=ACTIVATOR because the only other option is Object=THIS, which is the object the script was added to! Plus, no further filtering options are available after Object=ACTIVATOR, so if Number Check passes along more than 1 Player to this Object=ACTIVATOR, we have no way to choose which Player gets selected! <span style="text-size: 15px">'''Notes'''</span> *Conditions seem to all be checked to see if they need to be evaluated and only the ones that do get sent to the "Action Phase" to be evaluated and execute if the condition passes and their Actions are then run *For Number: Check as long as the Number being checked has changed or is marked Dirty, it will get sent to the "Action Phase" to be evaluated in the order of older script first (lowest number). Each script is fully evaluated and its actions executed before moving to the next one. This means that if a Number is Dirty but wouldn't pass a script's condition at first, but an earlier script changes that Number so that it now would pass the later script's Number: Check condition, that later script (which seems like it wouldn't trigger) does trigger and the Actions are executed. *Technique: We can target any players & dirty a number channel using Number Change: Force Dirty=ON, Operation=Increment, Constant=0 and next tick all the Number Checks for that player channel will activate & perform their test to see if the script should trigger
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