Frictional Games Forum (read-only)
[SCRIPT] Flying Jesus Help - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Flying Jesus Help (/thread-19416.html)

Pages: 1 2


Flying Jesus Help - assassinhawk45 - 12-03-2012

I've been looking for a flying Jesus script. I couldn't find one that wasn't combined with something else. I tried on my own and it says there's an unexpected token on line 6,1

void OnStart()
{
AddEntityCollideCallback("Player", "TNG1", "FUNCTION", true 1);
}
void FUNCTION( string &in asParent, string &in asChild, int alState);
{
SetEntityActive("Teleporter", true);
AddPropForce(Teleporter, float 0, float 0, float -30000, string& asCoordSystem);
}


RE: Flying Jesus Help - Damascus - 12-03-2012

I think from now on, we should encourage people making flying jesuses (jesii?) to fend for themselves.


RE: Flying Jesus Help - assassinhawk45 - 12-03-2012

(12-03-2012, 01:11 AM)Damascus Wrote: I think from now on, we should encourage people making flying jesuses (jesii?) to fend for themselves.
screw off


RE: Flying Jesus Help - Miss Rigi - 12-03-2012

(12-03-2012, 01:11 AM)Damascus Wrote: I think from now on, we should encourage people making flying jesuses (jesii?) to fend for themselves.
T'would be a shame to not encourage such.. creativity.


RE: Flying Jesus Help - Acies - 12-03-2012

I see an error in your script. Can you see it?


RE: Flying Jesus Help - assassinhawk45 - 12-03-2012

(12-03-2012, 01:23 AM)Acies Wrote: I see an error in your script. Can you see it?
Shoot, I didn't see that. Thanks


RE: Flying Jesus Help - Statyk - 12-03-2012

Couldn't you just copy-paste from any of the custom stories that do this "thing"? They usually just copy paste.


RE: Flying Jesus Help - Damascus - 12-03-2012

Nope, he's got to be "original."


RE: Flying Jesus Help - Miss Rigi - 12-03-2012

We've all got to start somewhere. I guess.


RE: Flying Jesus Help - Statyk - 12-03-2012

Oh boy... Well, here's your error.

void FUNCTION( string &in asParent, string &in asChild, int alState);

Try

void FUNCTION(string &in asParent, string &in asChild, int alState)