16
SA Chat & Support / scripting problem
« on: May 17, 2013, 11:20:38 AM »
hei guys! i have a problem in scripting .. i mean that the game don't load the objects.. so it looks fucked..
there's the script, probably i failed something:
there should be a fitness place..
there's the script, probably i failed something:
Code: [Select]
DEFINE OBJECTS 3
DEFINE OBJECT SANNY BUILDER 3.04
DEFINE OBJECT NULL2 // Object number -1
DEFINE OBJECT DYN_ROADBARRIER_6 // Object number -2
DEFINE MISSIONS 0
DEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA script
DEFINE UNKNOWN_EMPTY_SEGMENT 0
DEFINE UNKNOWN_THREADS_MEMORY 0
{$VERSION 3.1.0027}
//-------------MAIN---------------
thread 'MAIN'
042C: set_total_missions_to 0
030D: set_max_progress 187
0997: set_total_respect_points_to 1339
01F0: set_max_wanted_level_to 0
set_wb_check_to 0
00C0: set_current_time_hours_to 11 minutes_to 30
fade 0 10
set_weather 1
select_interior 0
04E4: unknown_refresh_game_renderer_at 0.0 0.0
Camera.SetAtPos(0.0, 0.0, 800.0)
$KENN_CHAR = Player.Create(#NULL, 2495.4373, -1667.4159, 13.3437)
07AF: $KENN_GROUP = player $KENN_CHAR group
$KENN_ACTOR = Actor.EmulateFromPlayer($KENN_CHAR)
Camera.SetBehindPlayer
Actor.Angle($KENN_ACTOR) = 90.0
wait 10
Player.SetClothes($KENN_CHAR, "HOODYABLACK", "HOODYA", Torso)
Player.SetClothes($KENN_CHAR, "CHINOSBLACK", "CHINOS", Legs)
Player.SetClothes($KENN_CHAR, "SNEAKERBINCBLK", "SNEAKER", Shoes)
Player.SetClothes($KENN_CHAR, "PLAYER_FACE", "HEAD", Head)
Player.SetClothes($KENN_CHAR, "CAPREDSIDE", "CAPSIDE", 16)
Player.Build($KENN_CHAR)
016C: restart_if_wasted_at 2027.77 -1420.52 15.99 angle 137.0 town_number 0
016D: restart_if_busted_at 1550.68 -1675.49 14.51 angle 90.0 town_number 0
wait 500
fade 1 1000
wait 3000
0460: set_camera_transverse_delay 0.0 time 10000
015F: set_camera_position 168.9951 -1828.1196 4.0407 rotation 0.0 0.0 0.0
0160: set_camera_point_at 390.7066 -1836.7356 17.25 mode 2
wait 10000
015F: set_camera_position 390.7066 -1836.7356 17.25 rotation 0.0 0.0 0.0
0160: set_camera_point_at 649.9232 -1864.3937 5.4609 mode 1
wait 10000
015F: set_camera_position 649.9232 -1864.3937 5.4609 rotation 0.0 0.0 0.0
0160: set_camera_point_at 659.7251 -1867.1842 5.4609 mode 1
wait 10000
015F: set_camera_position 613.5614 -1487.6729 73.8816 rotation 0.0 0.0 0.0
0160: set_camera_point_at 1098.2239 -1415.5792 49.8816 mode 1
wait 10000
end_thread
there should be a fitness place..