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
Brute doesn't want to go away.
The Shanus Offline
Member

Posts: 134
Threads: 15
Joined: Jun 2012
Reputation: 3
#3
RE: Grunt doesn't want to go away.

(06-21-2012, 05:58 PM)andyrockin123 Wrote: Improper syntax for the endbrute1 script (syntax is the stuff inside the "()"). You have:

void endbrute1(string &in asEntity)
{
SetEntityActive("brute1", false);
}

it should be


void endbrute1(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("brute1", false);
}

Also, you should have all callbacks under the "void OnStart()", not OnEnter.
Thanks alot. How do I know which arguments to use in the bracket? For future reference.
I'm also wondering - how do I change the amount of oil in the lantern when it's picked up? There are no tutorials for it.

[Image: theshanusyoutube.jpg]
(This post was last modified: 06-21-2012, 06:31 PM by The Shanus.)
06-21-2012, 06:26 PM
Find


Messages In This Thread
Brute doesn't want to go away. - by The Shanus - 06-21-2012, 05:53 PM
RE: Grunt doesn't want to go away. - by Adny - 06-21-2012, 05:58 PM
RE: Grunt doesn't want to go away. - by The Shanus - 06-21-2012, 06:26 PM
RE: Brute doesn't want to go away. - by Cruzore - 06-21-2012, 06:34 PM
RE: Brute doesn't want to go away. - by Adny - 06-21-2012, 06:46 PM



Users browsing this thread: 2 Guest(s)