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!
==Spawn Order: Change== Force players to 'Spawn' at a Spawn Point that matches the overriden 'Spawn Order'. <div class="spoiler"> [ATTACH=full]70744[/ATTACH] <span style="color: #a64dff">'''OBJECTS '''</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: #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: rgb(153, 153, 255)">'''Constant '''</span> (Where to pull the value from. Use just the defined numeric 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: #80ff00">Object</span> [INDENT]<span style="color: #00ff00">Global</span>: alpha-zulu <span style="color: rgb(0, 255, 0)">Team</span><span style="color: rgb(0, 179, 89)">''':'''</span> Team 1-8, alpha-zulu <span style="color: rgb(0, 255, 0)">Object</span> [INDENT]<span style="color: #b3b300">Object</span><span style="color: #00ff00">:</span> THIS/ACTIVATOR <span style="color: #b3b300">Number</span><span style="color: #00ff00">:</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 <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], Sheilds [ratio], Players [current], Players: Team [current], Teams [current], Spawn: Order, Rounds [max] ''(1 in Forge mode, -1 for unlimited rounds)'', Score To Win ''(0 in forge mode, -1 for unlimited rounds)'' '''<span style="color: #00b359">Object</span>''': THIS/ACTIVATOR[/INDENT][/INDENT] '''<span style="color: #a64dff">Randomize</span>''' (If On, Randomizes the value of the Number variable from 0 to the current value.) [INDENT][INDENT][/INDENT][/INDENT] [INDENT][INDENT]'''Notes on Game Value, Object: THIS/ACTIVATOR: '''[/INDENT] *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 [/INDENT] </div> <div class="spoiler"> *Spawn order does not reset on rounds. *Spawn order prioritizes the lowest spawn order first. This will even over write spawn zone influence. *If there are no valid spawns of an order the next order is then looked for. *Any valid spawn is a spawn that does not have something physically blocking the spawn. This does not include line of sight. *For a spawn to be used during a match it must be valid when the map loads. If it is blocked before the match starts then becomes unblocked it will still remain invalid. *With players, it seems only the default player SpOrder of 0 has the "choose lowest available SpOrder" behavior. Once player SpOrder is set, they only respawn at plates with that specific SpOrder. Default behavior won't return once SpOrder is set. In Forge, player SpOrder gets reset to default when they can't respawn to a specific SpOrder. That makes it hard to properly test how it'll really work in customs. *The default player SpOrder reads "255", but changing it to 255 doesn't bring back the default behavior. We can write signed 16-bit values (-32768 to 32767) to a SpOrder, but they get interpreted as unsigned 8-bit (0 to 255) values... -1 becomes 255 (not the default though) and 256 becomes 0. </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