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..
Alento Offline
Member

Posts: 64
Threads: 11
Joined: Jan 2012
Reputation: 0
#3
RE: script again..

(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,Smile sooo.. am I using the right code, or should I use another? Or is it after the "==" i have to change something? Smile

---------Want help with YOUR Custom Story? ---------
http://www.frictionalgames.com/forum/user-19049.html
09-10-2012, 12:22 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: 2 Guest(s)