≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Can someone help me with this double jump script?
Posted by:
(you are not logged in)
Enter the missing letter in: "Internati?nal"
(you are not logged in)
Text:
[quote][b][/b] wrote: Hello. I spent the past few hours trying to improve your script by adding the ability for it to sense every physical object below it, and I fixed the counter. I didn't use external variables. It's all in one script. Download the Behavior here: [url]https://pastebin.com/raw/USZFjSCe[/url] To make it work, I added a parameter that can be edited by normal users within the window for this Behavior. The parameter is called this: [b]AdjustLengthFromMiddleOfBodyToFloorToAccommodateCharactersOfDifferentHeights[/b] The name is disgustingly long because I want you to understand what it does. When you decide the final name for this parameter, please remember to change it in [b]both[/b] places. The reason an adjustment path is required is because customers will each use characters of different heights! They must adjust that parameter until it reaches right below the feet of the character! For example, if CopperCube shows your character's position as "[b]0, 20, 0[/b]", then you must guess a number to enter for that parameter until it leads directly under his feat, so entering the number "[b]10[/b]" will make the script assume that his feet are at "[b]0, 10, 0[/b]" and he will be able to jump again when he touches the ground again. Please remember that the adjustment number must be at least one increment below his feet, so if you try to measure your character until you discover that the absolute lowest point of its 3D model has a [b]Y Position[/b] of [b]0.14246[/b], then your character's position [b]minus[/b] the chosen number for the parameter I added must cause the final spot to be slightly below that, so [b]0.14245[/b] or lower. Just put random numbers in that parameter until you're happy with how the jumps work, but don't use negative numbers because then it will think the floor is above your character! I hope you're not mad because I added an extra parameter. That is the only way I'm aware of that can accomplish your goal.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact