Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
script again..
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: script again..

If you look in the HPL2 Engine Scripts Wiki, you will see any "Get" function prefaced with something like bool, int, or float. bool (Boolean) means true or false, int (Integer) means a whole number and float is a decimal (i.e. 27.8f). Based on whether it is bool, int, or float will dictate what you put after the "==".

"GetEntitiesCollide" is used to check if two entities are in contact with one another. It is generally used with a movable entity and a script area ("Player" isn't compatible with this function, and the 2 entities must be able to enter one another, not just make surface contact.)

As for your script problem, there are a few questions I'd like to ask before delving into this:

-Are you using the extraction oven from entities/lab
-What entities (items) correspond to the name? It would be tremendously helpful if I knew what "contWW_2" or "placeWW" were. If I try to make guesses, there is a much higher chance of me not being able to help you properly.

I rate it 3 memes.
09-10-2012, 12:15 AM
Find


Messages In This Thread
script again.. - by Alento - 09-09-2012, 11:43 PM
RE: script again.. - by Adny - 09-10-2012, 12:15 AM
RE: script again.. - by Alento - 09-10-2012, 12:22 AM
RE: script again.. - by Adny - 09-10-2012, 12:28 AM
RE: script again.. - by Alento - 09-10-2012, 12:35 AM
RE: script again.. - by Adny - 09-10-2012, 12:49 AM



Users browsing this thread: 1 Guest(s)