Warband Script Enhancer 2 (v1.0.3.7)

Currently viewing this thread:

Vetrogor

Sergeant
Best answers
0
get_time = 3022 #(get_time, <destination>, [<local>]), #Stores the current UNIX time into <destination>. If [<local>] is non-zero, it will store local time instead of universal time.
It stores time in seconds. I need miliseconds to test performance. Native store_mission_timer_a_msec doesn't show actual time. Can you implement this in a new version?
 
Last edited:

Vetrogor

Sergeant
Best answers
0
To write wse code compatible with vanilla warband use this code
Code:
  # WSE compatibility code
  (try_begin),
    (is_vanilla_warband), # Using 1004 deprecated code doesn't show error: unrecognised OP code
    #(display_message, "@Vanilla Warband code processed"),
    # code for vanilla
  (else_try),
    #(display_message, "@WSE code processed"),
    # code with wse operators
  (try_end),
It took me year to find this out. I looked at the forum threads and didn't find anything. Now I can use safely some cool features.
 
Last edited:

K700

Knight at Arms
WB
Best answers
0
1.0.3.6
-Fixed chamber and sweetspot for itp_has_upper_stab item flag.
-Added bAdjustedSweetSpot, bPolearmStagger config options.