#TYPE=

Please post here for questions and discussion about modding for Strategic Command.
Post Reply
User avatar
Gilber
Posts: 253
Joined: Wed Jun 13, 2018 10:16 am
Location: Luxembourg

#TYPE=

Post by Gilber »

Hi,

i struggles to understand the difference between #TYPE= 0 and #TYPE= 3
one or two examples would help me a lot

Gilles

Gilles
User avatar
sPzAbt653
Posts: 10158
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: #TYPE=

Post by sPzAbt653 »

Maybe these notes will help:

Use 'Type= 0' when you have a trigger less than 100%. That way even if conditions are satisfied there is only a chance the event will fire. If it does not, it will not try to again.

TYPE=1 will only fire a single time after the conditions are met... so a 75% trigger is one of those conditions that needs to be met, and once that condition is met, the event is removed and
never repeated.

TYPE=2 means that the event will go on repeating.

TYPE=3 = Event fires once [on the specific date set] if all other fields are satisfied, else it will not fire. Either way, event will be removed never to be looked at again.
User avatar
Gilber
Posts: 253
Joined: Wed Jun 13, 2018 10:16 am
Location: Luxembourg

RE: #TYPE=

Post by Gilber »

Thank you very much sPzAbt653

It helps, but it's not clear enough for me because

If it does not, it will not try to again

and

event will be removed never to be looked at again.

looks the same

Gilles
Gilles
User avatar
Hubert Cater
Posts: 6098
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: #TYPE=

Post by Hubert Cater »

Hi Gilber,

Think of it this way:

Category 1 - ALL CONDITIONS SATISFIED (except possibly the #TRIGGER field)

#TYPE= 0 -> event is looked at and may fire if trigger is satisfied, may not if it is not satisfied, but won't be looked at again and is removed
#TYPE= 1 -> event will keep attempting to fire as soon as #TRIGGER field is satisfied, once fired it will be removed
#TYPE= 2 -> event will fire as soon as #TRIGGER is satisfied, once fired it will not be removed and may fire again

Categy 2 - CONDITIONS NOT NECESSARILY SATISFIED

TYPE= 3 -> #DATE is satisfied, and if conditions satisfied the event will fire. If the conditions are not satisfied, the event will not fire. Either way it is removed on the #DATE specified for the event.

If you take a look in game for events that are set for TYPE= 0 and for those that are TYPE= 3 (very few) you should get an idea on when and how to use them as well for further guidance.
User avatar
sPzAbt653
Posts: 10158
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: #TYPE=

Post by sPzAbt653 »

The Types are not the same, they are different. Don't fixate on a small part, fully read each one to tell why it is different in its' own context. Do not compare one to another, that will create confusion. [;)]
User avatar
Gilber
Posts: 253
Joined: Wed Jun 13, 2018 10:16 am
Location: Luxembourg

RE: #TYPE=

Post by Gilber »

thank you for your help
i think i understood :

; 0 = Will be attempted only once as soon as all conditions (except TRIGER) are met
; 1 = Will be attempted at each turn but can only be executed once
; 2 = Will be attempted at each turn
; 3 = will be attempted only once the first time when the date is satisfied

Gilles
Gilles
User avatar
Gilber
Posts: 253
Joined: Wed Jun 13, 2018 10:16 am
Location: Luxembourg

RE: #TYPE=

Post by Gilber »

More precisely :

; 0 = Will be attempted only once as soon as all conditions (except TRIGER) are met
; 1 = Will be attempted at each turn but can only fire once
; 2 = Will be attempted at each turn
; 3 = will be attempted only once when the date is satisfied
Gilles
Post Reply

Return to “Scenario Design and Modding”