Results 1 to 4 of 4

Thread: Halo Scripting Code errors?

  1. #1
    Computer geek
    Join Date
    Sep 2009
    Posts
    57

    Halo Scripting Code errors?

    Hi, I'm new to halo map making and so I need to ask why my Halo Scripts (.hsc) aren't working? I have a folder called scripts, a map called a10.scenario, and the script is titled a10.hsc. The code for a10.hsc is:
    Code:
    (script startup a
    (cinematic_set_title begin)(show_hud 0)
    )
    (script continuous b
    (if(=(unit_get_health cyborg_mp)0)(((cinematic_set_title lost)(show_hud 0))game_lost))
    )
    (script continuous hog_checker (if (vehicle_test_seat_list drive_me
    "wdriver"
    (players)) ((deactivate_team_nav_point_object "player" drive_me) (game_won))
    (activate_team_nav_point_object "default_red" "player" drive_me 1)))
    I open sapien and click Compile Scripts. I save. I compile the map, open it, and it doesn't work. (The code doesn't work. The map will load just fine.) What is its problem?
    Thanks,
    -Arightwizard


    (Extra note: drive_me = a warthog's name.)
    Last edited by Arightwizard; September 9th, 2009 at 05:35 PM.
    Reply With Quote

  2. #2
    Has no custom user title UnevenElefant5's Avatar
    Join Date
    Dec 2008
    Posts
    326

    Re: Halo Scripting Code errors?

    It should give you an error when you try to compile it. Post that error here.
    Reply With Quote

  3. #3
    Taiko Drums = Win
    Join Date
    Sep 2006
    Location
    Longbranch, WA
    Posts
    2,692

    Re: Halo Scripting Code errors?

    Make sure your "scripts" folder is in data\levels\yourface\yourass\whatsthedifference\sc ripts and not tags\levels\yourface\yourass\whatsthedifference
    Reply With Quote

  4. #4
    Computer geek
    Join Date
    Sep 2009
    Posts
    57

    Re: Halo Scripting Code errors?

    Quote Originally Posted by FRain View Post
    Make sure your "scripts" folder is in data\levels\yourface\yourass\whatsthedifference\sc ripts and not tags\levels\yourface\yourass\whatsthedifference
    Thank you (I think, lol), I had it placed in the tags folder.
    Last edited by Arightwizard; September 10th, 2009 at 04:52 PM.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •