Editing
Games:Halo 5: Guardians/Forge/Scripting/2. Actions
(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: Change== Change 'Number' variables in different scopes to values that you want. Check variables with the 'Number: Check' Condition. <div class="spoiler"> [ATTACH=full]70739[/ATTACH] '''<span style="color: #4da6ff">VARIABLE</span>''' [INDENT]<span style="color: #a64dff">'''Scope'''</span>: <span style="color: #9999ff">'''Global'''</span>, <span style="color: #9999ff">'''Player'''</span>, <span style="color: #9999ff">'''Team''' </span>or <span style="color: #9999ff">'''Object'''</span> [INDENT]'''<span style="color: #9999ff">Global</span>''' [INDENT]<span style="color: #00b359">Channel</span>: alpha-zulu[/INDENT] '''<span style="color: #9999ff">Player</span>''' [INDENT]<span style="color: #00b359">NUMBER</span>: [[https://www.forgehub.com/wiki/targeting-mods/#mods-and-descriptions-list https://www.forgehub.com/wiki/targeting-mods/#mods-and-descriptions-list]] <span style="color: #00b359">Channel:</span> alpha-zulu[/INDENT] '''<span style="color: #9999ff">Team</span>''' [INDENT]<span style="color: #00b359">NUMBER</span>: [[https://www.forgehub.com/wiki/targeting-mods/#mods-and-descriptions-list https://www.forgehub.com/wiki/targeting-mods/#mods-and-descriptions-list]] <span style="color: #00b300">Channel:</span> alpha-zulu[/INDENT] '''<span style="color: #9999ff">Object</span>''' [INDENT]<span style="color: #00b359">NUMBER </span>[[https://www.forgehub.com/wiki/targeting-mods/#mods-and-descriptions-list https://www.forgehub.com/wiki/targeting-mods/#mods-and-descriptions-list]][/INDENT] (Channels are the Variable Channel to watch the state of in order to meet the Condition requirement. NUMBERS specify the objects to modify the Number variables of.)[/INDENT][/INDENT] <span style="color: #4da6ff">'''Operation'''</span>: Set, Increment, Decrement, Multiply, Divide, Remainder or Random (What Operation is used to apply the value to the specified variable.) <span style="color: #4da6ff">'''Force Dirty'''</span>: On/Off. Force all conditions to check this Number Variable whether or not it has changed. In other words, the Number Check conditions for the variable will be evaluated next game tick. '''<span style="color: #4da6ff">CHANGE </span>''' [INDENT]<span style="color: #a64dff">'''Source'''</span>: '''<span style="color: #9999ff">Constant</span>, <span style="color: #9999ff">Number</span>, <span style="color: #9999ff">Object Count</span>''' or '''<span style="color: #9999ff">Game Value</span>''' [INDENT]'''<span style="color: #9999ff">Constant</span> '''(Where to pull the value from. Use just the defined numberic Value.) '''<span style="color: #9999ff">Number</span>''' [INDENT]'''<span style="color: #00b359">Scope</span>''': <span style="color: #80ff00">Global</span>, <span style="color: #00ff00">Team </span>or <span style="color: #00ff00">Object </span>(The category of variable to use for this value.) [INDENT]<span style="color: #80ff00">Global</span>: alpha-zulu <span style="color: #80ff00">Team:</span> Team 1-8, alpha-zulu <span style="color: #80ff00">Object</span> [INDENT]<span style="color: #b3b300">Object:</span> THIS or ACTIVATOR <span style="color: #b3b300">Number</span>: <span style="text-decoration: underline;">Team</span>, <span style="text-decoration: underline;">Player</span> or <span style="text-decoration: underline;">Object</span> [INDENT]* <span style="text-decoration: underline;">Team</span>: alpha-zulu ''(Object=ACTIVATOR means ACTIVATOR or Number Check's EXTRA object(s)'' * <span style="text-decoration: underline;">Player</span>: alpha-zulu ''(Number-Object-ACTIVATOR-Player-Channel can retrieve a player channel number)'' * <span style="text-decoration: underline;">Object</span> ''(Number-Object-THIS/ACTIVATOR-Object retrieves an object's only number)''[/INDENT][/INDENT][/INDENT][/INDENT] '''<span style="color: #9999ff">Object Count</span>''' [INDENT]'''<span style="color: #00b359">COUNT</span>''' [[https://www.forgehub.com/wiki/targeting-mods/#mods-and-descriptions-list https://www.forgehub.com/wiki/targeting-mods/#mods-and-descriptions-list]][/INDENT] <span style="color: #9999ff">'''Game Value'''</span> [INDENT]'''<span style="color: #00b359">Game Value:</span>''' Team [score], Player [score], Health [current], Health [max], Health [ratio], Shields [current], Shields [max], Shields [ratio], Players [current], Players: Team [current], Teams [current], Spawn:Order, Rounds [max], Score to Win '''<span style="color: #00b359">Object</span>''': THIS/ACTIVATOR (The Object to use for this variables value. The object that activated the Condition (See Condition for what the ACTIVATOR object is))[/INDENT][/INDENT] <span style="color: #a64dff">'''Value:'''</span> -32,768 - 32,767 (Adds this Value to the results of the defined criteria.) <span style="color: #a64dff">'''Randomize''':</span> On/Off (If On, Randomizes the value of the Number variable from 0 to the current value.)[/INDENT] </div> <div class="spoiler"> Numbers do not reset on rounds. Player Numbers can be retrieved when Source=Number+Scope=Object+Object=ACTIVATOR+Number=Player. The ACTIVATOR option for Object becomes available when the Condition is Number: Check, Boundary: Check, Interacted, Message: Receive, or Power State: Check. For the Number: Check condition, use the EXTRA filters instead of ACTIVATOR. "Notes on Game Value, Object: THIS/ACTIVATOR" *Can't find a way to make a player be the THIS object *ACTIVATOR Seems to be the only way to get Player data like score, health, order, etc *Boundary Check/Interacted/Number Check put players into ACTIVATOR *Number Check puts the player into ACTIVATOR for Game Value & Object Sources Learn more about Numbers on their page: [https://www.forgehub.com/wiki/numbers-miscellaneous/ https://www.forgehub.com/wiki/numbers-miscellaneous/] </div>
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