Mon code (piqué de Affaq)
Code : Tout sélectionner
COPY_EXISTING ~AR0700.are~ ~override~
PATCH_IF (SOURCE_SIZE > 0x11b) BEGIN
LPF fj_are_structure
INT_VAR
fj_type = 0 // proximiy trigger
fj_box_left = 3428
fj_box_top = 3441
fj_box_right = 3439
fj_box_bottom = 3430
fj_cursor_idx = 8 // activator cursor
fj_vertex_0 = 3428 + (1883 << 16)
fj_vertex_1 = 3441 + (1886 << 16)
fj_vertex_2 = 3439 + (1874 << 16)
fj_vertex_0 = 3430 + (1878 << 16)
STR_VAR
fj_structure_type = region
fj_name = 0700secr
fj_reg_script = secr0700
END
END