How would you make a list of tiles that can be separated with slots 1-4 and cycled through using walk + block + facing direction, and can be called on using my script?
https://pastebin.com/jV4p7bV9
I tried to make a script to spawn to spawn every thing in the game, but got stuck here, I just need what I said before, I'll fill out everything myself.
(I had to use pastebin because I kept getting
No route found for "GET /posting.php" (from "https://www.mythologicinteractiveforums ... =post&f=15")
when trying to paste the code here)
Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
Need Help With Scripting
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 25
So if I've understood, you want to cycle through objects by using alt + block button and if your player is facing at right go next object, instead if is facing at left go previous object, it is correct?MrWheatley wrote: ↑Sun Jun 10, 2018 10:27 pmHow would you make a list of tiles that can be separated with slots 1-4 and cycled through using walk + block + facing direction, and can be called on using my script?
https://pastebin.com/jV4p7bV9
I tried to make a script to spawn to spawn every thing in the game, but got stuck here, I just need what I said before, I'll fill out everything myself.
(I had to use pastebin because I kept getting
No route found for "GET /posting.php" (from "https://www.mythologicinteractiveforums ... =post&f=15")
when trying to paste the code here)
0 x
-
- Fighter
- Posts: 13
- Joined: Wed Jun 06, 2018 7:36 am
Yeah, it'll be kinda like this; http://sfdmaps.at.ua/load/scripts/compl ... 10-1-0-119JakSparro98 wrote: ↑Mon Jun 11, 2018 9:08 pmSo if I've understood, you want to cycle through objects by using alt + block button and if your player is facing at right go next object, instead if is facing at left go previous object, it is correct?MrWheatley wrote: ↑Sun Jun 10, 2018 10:27 pmHow would you make a list of tiles that can be separated with slots 1-4 and cycled through using walk + block + facing direction, and can be called on using my script?
https://pastebin.com/jV4p7bV9
I tried to make a script to spawn to spawn every thing in the game, but got stuck here, I just need what I said before, I'll fill out everything myself.
(I had to use pastebin because I kept getting
No route found for "GET /posting.php" (from "https://www.mythologicinteractiveforums ... =post&f=15")
when trying to paste the code here)
0 x
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 25
Will this feature be used by multitple players? after that information I can start write the script.MrWheatley wrote: ↑Mon Jun 11, 2018 9:54 pmYeah, it'll be kinda like this; http://sfdmaps.at.ua/load/scripts/compl ... 10-1-0-119
0 x
-
- Fighter
- Posts: 13
- Joined: Wed Jun 06, 2018 7:36 am
Yeah, just two though.JakSparro98 wrote: ↑Tue Jun 19, 2018 7:37 pmWill this feature be used by multitple players? after that information I can start write the script.MrWheatley wrote: ↑Mon Jun 11, 2018 9:54 pmYeah, it'll be kinda like this; http://sfdmaps.at.ua/load/scripts/compl ... 10-1-0-119
0 x
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 25
Here is the script, it's map-independent but I preferred to leave it in the test map because the player has been provided with weapons for the slots 1-4 since the only way to call slot keys events is to fill the invetory with something to actually use, the weapons are sheathed soon after though.
On the top of the script you will find the string with the names of the lists and for each list a set of objects names and displayed names, you can add all items you want, just add a new element at the bottom of the list like so:
On the top of the script you will find the string with the names of the lists and for each list a set of objects names and displayed names, you can add all items you want, just add a new element at the bottom of the list like so:
Code: Select all
{"Third Element","WoodBarrel00"}, // add a comma to the previous line before adding the new element
//new element
{"New Element","Balloon00"}
1 x