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
Confused with void Func_Name
DaAinGame Offline
Member

Posts: 90
Threads: 11
Joined: Mar 2012
Reputation: 4
#4
RE: Confused with void Func_Name

Adrianis, I can't tell if your post helped me or confused me even more. I understand the SetEntityPlayerIneractCallback and why the all the things in the () exist. But what really confused me on yours is when you talk about the addTimer function. What I understood from that is the void Func_name it goes under, nothing NEEDS to be added to the () for it to work. However, the function it calls (In this case the time after the grunt spawns to when it despawns otherwise 45 seconds) it should be like this?

void Fade(string &in asTimer)
{
FadeEnemyToSmoke("servant_grunt_1", true);
}

I do not feel as if this is right however?

**EDIT** Here's a good example of where I get really confused with the functions.
void LookRocks(string &in asParent, string &in asChild, int alState)
All i get from this is:
string &in asParent - going to be a string, so it will use a "". No clue about the asParent part.
string &in asChild - again, string, will use "", No clue about asChild.
int alState - int I'm guessing is an integer? alState is another ?. So I guess what my question truly is, is how do I figure out what does the second part means? I honestly feel totally lost and like a stupid head lol.

Realm Of Another Chapter 1: http://www.frictionalgames.com/forum/thread-14142.html
Realm Of Another Chapter 2: Postponed
Adder Halls: 5%
(This post was last modified: 03-10-2012, 03:42 AM by DaAinGame.)
03-10-2012, 03:06 AM
Find


Messages In This Thread
Confused with void Func_Name - by DaAinGame - 03-10-2012, 02:32 AM
RE: Confused with void Func_Name - by Adrianis - 03-10-2012, 02:52 AM
RE: Confused with void Func_Name - by DaAinGame - 03-10-2012, 03:06 AM
RE: Confused with void Func_Name - by Adrianis - 03-11-2012, 04:33 AM
RE: Confused with void Func_Name - by DaAinGame - 03-11-2012, 08:00 PM



Users browsing this thread: 1 Guest(s)