Uploader now fixed, if you have uploaded a map and do not see it in the downloads section please reupload it again, sorry for any inconvenience caused

If you find a broken link, please report it to the Broken Link Forum located HERE.

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User gunrock12 is on a distinguished road
    Join Date
    Sep 2017
    Location
    indiana
    Posts
    11
    Reviews
    Read 0 Reviews
    Rep Power
    0

    Script runtime error SP map

    I have a script where i the player goes inside a building from the outside and the Ambient changes.
    but once the player touches the trigger i get this error:

    Error
    script runtime error
    [see console for details

    type string is not a float

    here is my script:


    amb_set1()
    {


    amb_set1 = getent("amb_outside1", "targetname");
    amb_set1 waittill("trigger", player);

    while(1)
    {

    amb_set1 waittill("trigger", player);
    wait(1);
    iprintlnbold ("play out sound dude");
    AmbientStop("amb_chech_night1v3_lsrs");
    wait(1);


    AmbientPlay("bf_battle");
    }


    }

  2. #2
    Registered User gunrock12 is on a distinguished road
    Join Date
    Sep 2017
    Location
    indiana
    Posts
    11
    Reviews
    Read 0 Reviews
    Rep Power
    0
    okay i just uncheck enable developer 1 and it solved the problem

Posting Permissions

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