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== 'Spawn' THIS object if it isn't already in the map. Object is created with the properties, variables and scripts set for it. <div class="spoiler"> Objects sometimes will not spawn if a player or object is in the space it will spawn in. Checkbox 'Force' in Spawn options to Force the Object to spawn in even if something is in it's spawn space.</div> <div class="spoiler"> *Objects spawn in their original positions, not where they were when destroyed or despawned. Exceptions include if an object's physics have been set to normal it will spawn at it's last known location, and welded groups do not always respond at their original position. *Objects in a welded group might be repositioned or rotated if the group was still spawned and in another location. *The Spawn action won't reset a currently spawned object. *Most objects won't spawn if players are in the way or very close by. Switches and Switch Terminals are the known exceptions that will spawn where a player is and the player will be slowly pushed out of that position when the switch is set to fixed or phased physics. *The game seems to determine whether a player is too close for an object to spawn based only on the distance a player is to the object (usually the object's center). That means the spawn detection zone around an object has a spherical shape. '''Simultaneous Spawn/Despawn Actions''' *When objects have Spawn and Despawn actions run in the same game tick, the last one (highest script number & higher number action) is the one that has full effect. *If both Spawn and Despawn are called during the same game tick, whichever one is last has its condition triggered whether or not it was previously in that state. i.e. for a spawned object, calling Despawn and then Spawn for it triggers its Spawned condition. *An object's Number is available for reading and writing after calling Spawn, but Despawn makes it inaccessible again. This works even during the same game tick. *For a despawned object, you can call Spawn, use its Number, and then call Despawn during the same game tick and the object won't spawn or trigger its Spawned condition, but the Despawned condition will trigger. </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