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
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Script help

You identifier would just be 'asEntity'. So just call Func(asEntity) and then in your function, your signature is just string &in 'whatevernameyouwanttoputhereitdoesnothavetobethesame'.

So your basic structure will look like this

void ParentFunction(string &in asEntity, string &in asType)    //item interaction callback just as an example
{
    //some stuff up here
    
    Func(asEntity);
    
    //some stuff down here
}


void Func(string &in mysig)
{
    //stuff in this function
}

07-28-2011, 10:07 PM
Find


Messages In This Thread
Script help - by DRedshot - 07-28-2011, 09:35 PM
RE: Script help - by palistov - 07-28-2011, 10:07 PM
RE: Script help - by DRedshot - 07-28-2011, 11:52 PM
RE: Script help - by Your Computer - 07-29-2011, 04:13 AM
RE: Script help - by palistov - 07-29-2011, 07:28 AM
RE: Script help - by DRedshot - 07-29-2011, 11:08 AM
RE: Script help - by palistov - 07-29-2011, 01:24 PM



Users browsing this thread: 1 Guest(s)