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
Scripting Help
WALP Offline
Posting Freak

Posts: 1,221
Threads: 34
Joined: Aug 2012
Reputation: 45
#2
RE: Scripting Help

they are parameters that change a bool variable.

I cant really explain it in your example, since you are using an incorrect function, perhaps it is an outdated one from HPL2?

In HPL3 it is called Entity_SetActive.

A better example would be Entity_PlayAnimation() which among other parameters has 2 bool parameters.

The first bool parameter decides if animation should loop, and this needs a true or false information for SOMA to know what to do.
the second bool parameter decides if a transition animation, given such exists, should be played before. for SOMA to know what to do it again needs a true or false information.

So when there are multiple false or true, thats really just the scripter answering yes or no to a bunch of things the function can do.

Note there are also parameters for non bool, like EntityName which is a tstring, here SOMA needs info on what entity you want to set active.
10-10-2015, 09:32 PM
Find


Messages In This Thread
Scripting Help - by Chet315 - 10-10-2015, 09:13 PM
RE: Scripting Help - by WALP - 10-10-2015, 09:32 PM
RE: Scripting Help - by Mudbill - 10-10-2015, 10:06 PM
RE: Scripting Help - by WALP - 10-10-2015, 10:20 PM
RE: Scripting Help - by Chet315 - 10-10-2015, 11:29 PM
RE: Scripting Help - by Romulator - 10-10-2015, 10:23 PM
RE: Scripting Help - by Mudbill - 10-10-2015, 10:50 PM
RE: Scripting Help - by Romulator - 10-10-2015, 11:36 PM
RE: Scripting Help - by Chet315 - 10-10-2015, 11:41 PM
RE: Scripting Help - by Romulator - 10-11-2015, 12:10 AM
RE: Scripting Help - by Chet315 - 10-11-2015, 12:54 AM
RE: Scripting Help - by Romulator - 10-11-2015, 01:47 AM
RE: Scripting Help - by Mudbill - 10-11-2015, 04:28 AM



Users browsing this thread: 7 Guest(s)