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
Script Help Variable Prefix
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#1
Variable Prefix

So yeah. Basically what the title says:

when i use a callback syntax in my scriptfile like this:

PHP Code: (Select All)
OnStart {
AddEntityCollideCallback("Player""HatchEvent""HatchEvent"true1);
}

void HatchEvent (string &in asParentstring &in asChildint alState

When the script is executed the variables asParent, asChild and alState are getting replaced by the function that calls the syntax above.

Now to my question, what excectly does "alState" mean. State is self explanatory, that is for sure, but what does the "al" before that mean. With "as" it's quite easy. But the other one is a mystery to me!

(I know that these variables can be replaced by everything else variable wise, but i'd really like to know what the normal variable names mean)

Hope you'r getting my point here.

-RaideX

If you don't draw first, you don't get to draw at all... -The False Shepherd
12-07-2013, 04:26 PM
Find


Messages In This Thread
Variable Prefix - by RaideX - 12-07-2013, 04:26 PM
RE: Variable Prefix - by Daemian - 12-07-2013, 06:21 PM
RE: Variable Prefix - by Adrianis - 12-11-2013, 06:08 PM
RE: Variable Prefix - by Apjjm - 12-11-2013, 07:43 PM
RE: Variable Prefix - by Daemian - 12-11-2013, 08:52 PM



Users browsing this thread: 1 Guest(s)