The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Only some of my scripts are working
Spazatron Offline
Junior Member

Posts: 33
Threads: 17
Joined: Oct 2012
Reputation: 2
#1
Only some of my scripts are working

I have these scripts:

void OnStart()
{
    SetEntityActive("fall_box", false);
    SetEntityActive("fall_dust", false);
    PlaySoundAtEntity("clock_loop.ogg", "clock_loop.snt", "clock", 0, true); //play clock sound
    SetEntityInteractionDisabled("tar1", true); //disable tar pickups
    SetEntityInteractionDisabled("tar2", true); //
}

But only the
    SetEntityInteractionDisabled("tar1", true); //disable tar pickups
    SetEntityInteractionDisabled("tar2", true); //
works.

The fall_box and fall_dust are still active when the game starts and the sound doesn't play. Everything is written perfectly... :S
09-29-2014, 02:03 PM
Find


Messages In This Thread
Only some of my scripts are working - by Spazatron - 09-29-2014, 02:03 PM



Users browsing this thread: 2 Guest(s)