Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - KingEclipsed

Pages: [1]
1
User-Made Creations / Re: I Wanna Get Rekt
« on: April 07, 2015, 08:13:18 PM »
maybe hype, maybe not. Kreygasm

Edit (from post that was originally below):
 :Kreygasm::FailFish: I forgot the :'s... My luck!

Don't double post, especially not with that either; this isn't Twitch. -infern0

2
Engines / Re: I wanna be the Engine Seph Edition
« on: April 07, 2015, 04:40:51 PM »
Hey, I got some errors.
if(isinst)
{
    if(inc<0)
    {
        instvol = max(dest,instvol+inc);
    }
    else
    {
        instvol = min(dest,instvol+inc);
    }
    if(code <>"")
    {
        execute_string(code);
    }

    FMODInstanceSetVolume(group,instvol);
    if(instvol = dest)
    {
        instance_destroy();
    }
    exit;
}
    //show_message("G:"+string(group)+"F:"+string(instvol)+"T:"+string(dest)+"I:"+string(inc)+"GOT:"+string(FMODGroupGetVolume(group)));

    if(inc<0)
    {
        instvol = max(dest,instvol+inc);
    }
    else
    {
        instvol = min(dest,instvol+inc);
    }
    FMODGroupSetVolume(group,instvol);
    if(instvol = dest)
    {
        instance_destroy();
    }


and

if(isinst)
{
    if(inc<0)
    {
        instvol = max(dest,instvol+inc);
    }
    else
    {
        instvol = min(dest,instvol+inc);
    }
    if(code <>"")
    {
        execute_string(code);
    }

    FMODInstanceSetVolume(group,instvol);
    if(instvol = dest)
    {
        instance_destroy();
    }
    exit;
}
    //show_message("G:"+string(group)+"F:"+string(instvol)+"T:"+string(dest)+"I:"+string(inc)+"GOT:"+string(FMODGroupGetVolume(group)));

    if(inc<0)
    {
        instvol = max(dest,instvol+inc);
    }
    else
    {
        instvol = min(dest,instvol+inc);
    }
    FMODGroupSetVolume(group,instvol);
    if(instvol = dest)
    {
        instance_destroy();
    }
and if(!isinst)
{
    if(inc<0)
    {
        curpan = max(dest,curpan+inc);
    }
    else
    {
        curpan = min(dest,curpan +inc);
    }
    curpan-=1;
    if(code <>"")
    {
        execute_string(code);
    }
    curpan+=1;
    //show_message("G:"+string(group)+"F:"+string(curpan)+"T:"+string(dest)+"I:"+string(inc)+"GOT:");

    FMODGroupSetPan(group,curpan -1);
    if(curpan = dest)
    {
        instance_destroy();
    }
    exit;
}
    if(inc<0)
    {
        curpan = max(dest,curpan +inc);
    }
    else
    {
        curpan = min(dest,curpan +inc);
    }
    curpan-=1;
    if(code <>"")
    {
        execute_string(code);
    }
    curpan+=1;
    FMODInstanceSetPan(group,curpan -1);
    if(curpan = dest)
    {
        instance_destroy();
    }

3
Engines / Re: I wanna be a minimalistic engine
« on: April 07, 2015, 04:07:59 PM »
I got an In Object TriggerParent, in Event CollisionEvent_34 action number 1 at line 7 : unknown function or script execute_string

Compile Failed - Please check the Compile window for any additional information

Here is the strip of code.

if (!triggered) {
    with (object_index) {
        triggered = true;
    }
    if (variable_local_exists("code")) {
        execute_string(code);
    }
}

I can't find the variable/TriggerParent inside the script or anywhere else, so that's probably missing. Hopefully you know how to fix it.

 :atkCry:

Pages: [1]