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.
My train keeps destroying itself
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
-
- Fighter
- Posts: 34
- Joined: Mon Nov 19, 2018 3:30 pm
- Gender:
My train keeps destroying itself
As the title says, i'm trying to recreate the subway train in my map but for some reason when i test the map i hear the distinctive sound that objects make when they get removed because of the triggers that are attached to it (the ones that gib players and objects). I don't know what i'm doing wrong i put all the triggers as they appear in the map, can somebody help me?
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
If you're using the same gib script as used in the subway map there should not be any problems, can you send your train setup to let us investigate the issue?Cabo_Fiambre wrote: ↑Mon Feb 18, 2019 5:35 pmAs the title says, i'm trying to recreate the subway train in my map but for some reason when i test the map i hear the distinctive sound that objects make when they get removed because of the triggers that are attached to it (the ones that gib players and objects). I don't know what i'm doing wrong i put all the triggers as they appear in the map, can somebody help me?
1 x
-
- Fighter
- Posts: 34
- Joined: Mon Nov 19, 2018 3:30 pm
- Gender:
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 25
But you're asking help here, the forums, and the maps/script involved needs to be provided here as the request is here; it's also a bit difficult to me trying to figure out what discord server are you referring to.
Just post the link of the map from Discord to this thread, and we will glad to help for what we can.
0 x
-
- Fighter
- Posts: 34
- Joined: Mon Nov 19, 2018 3:30 pm
- Gender:
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 25
Solved the issue, the code was not using the exact same logic as the original, the script make the customID of the object wich entered the trigger to lowercase and then compare it with a literal one, this latter was with the first letter in uppercase, the comparison would always been resulted in false and so even the train would be destroyed.
You need to change "Rail" and "Train" to have the first letter in lower case.
You need to change "Rail" and "Train" to have the first letter in lower case.
0 x
-
- Fighter
- Posts: 34
- Joined: Mon Nov 19, 2018 3:30 pm
- Gender: