Closed indexxing closed 8 months ago
- Added
Damage
parameter to the Environment class:CreateExplosion
method (I don't think it's in the correct spot, I think it's weird to have the parameter come after the callback, but that's what @Alyxsqrd told me so 🤷)
The damage parameter was added way after the CreateExplosion method was first created. So for backwards compatibility, we added it on the end (after the callback parameter) so games with old scripts wouldn't break from the order changing.
- Added
Damage
parameter to the Environment class:CreateExplosion
method (I don't think it's in the correct spot, I think it's weird to have the parameter come after the callback, but that's what @Alyxsqrd told me so 🤷)The damage parameter was added way after the CreateExplosion method was first created. So for backwards compatibility, we added it on the end (after the callback parameter) so games with old scripts wouldn't break from the order changing.
Oh, I forgot while writing that the damage parameter was new (or what I assumed, was new since I've never heard of it before on the :CreateExplosion
method)
that makes sense now
Add
Damage
andHeaders
parameters for Environment and Http classAdded
Damage
parameter to the Environment class:CreateExplosion
method (I don't think it's in the correct spot, I think it's weird to have the parameter come after the callback, but that's what @Alyxsqrd told me so 🤷)Added
Headers
parameter to the Http static class:Get
method[x] The changes you've made are accurate and correct
[x] Distinct changes for separate issues are in separate PRs (do not combine multiple issues into one PR)
[x] Any additions or modifications to the example code were tested in the latest version of Polytoria Creator and work as intended