(09-10-2012, 12:15 AM)andyrockin123 Wrote: 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.
Oh! okey,
sooo.. am I using the right code, or should I use another? Or is it after the "==" i have to change something?