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.

OnUpdateTrigger still works without OnStartup

All reported bugs that's actually by design.
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Post Reply
User avatar
Shock
Superfighter
Superfighter
Posts: 312
Joined: Sun Mar 20, 2016 7:17 am
Title: Content-maker
SFD Account: Shock
Started SFD: Pre-Alpha 1.2.0.
Location: Belarus
Gender:
Age: 24
Contact:

OnUpdateTrigger still works without OnStartup

Post by Shock » Sat Jul 11, 2020 7:28 pm

This is a very special problem because if you fix it, this action may just break a lot of maps... Most players already have used OnUpdate without OnStartup setting which is working now. The way of solving this problem should be careful

Image
0 x
-Content-maker.

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1884
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 34

Post by Gurt » Sun Jul 12, 2020 1:51 pm

The OnUpdateTrigger will ALWAYS trigger on EACH UPDATE.
If you want to DISABLE the trigger you must use the "Trigger Enabled" property instead and maybe chain it together with the EnableTrigger.
The "Active on Startup" is a generic inherited property for all triggers if you want to early activate triggers on startup - when the map starts. This property is basically not applicable for the OnUpdateTrigger.
0 x
Gurt

Post Reply