script editor

Nirran

Vault Senior Citizen
Modder
does a ssl script editor exist that can auto indent the ssl code(such as FSE did back in the day)?isnt a big dela but would use if available,searched the web,nothign relavent
 
Last edited:
SSE4
there is a simple automatic indent.
auto-formatting code (insert spaces)
code completion, insertion of code fragments by the tab key.

or do you want some kind of exclusive auto-indent? - describe it, maybe I will add to next version.
 
FSE had a configure code option,that indented if blocks with end blocks,worked with most scripts,would be great

edit : FSE did this
Code:
         if (random_roll > (100 - CalcCrit(criticalpercent))) then
            begin
               if (attacker == dude_obj) then
                  begin
                     ten := 1;
                  end
               if ((Is_Not_Party(attacker)) or ((attacker != dude_obj) and (get_sfall_global_int(4306) == 1))) then
                  begin
                     ten := 1;
                  end
               else
                  if (Is_Party(attacker)) then
                     begin
                        ten := 1;
                     end
            end

tho id prefer if it did that into

Code:
        if (random_roll > (100 - CalcCrit(criticalpercent))) then begin
           if (attacker == dude_obj) then begin
               ten := 1;
            end
            if ((Is_Not_Party(attacker)) or ((attacker != dude_obj) and (get_sfall_global_int(4306) == 1))) then begin
               ten := 1;
            end else if (Is_Party(attacker)) then begin
               ten := 1;
            end
         end
 
Last edited:
Back
Top