Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Coding Questions
Author Message
rjmcfarland Offline
Junior Member

Posts: 23
Joined: Feb 2012
Reputation: 0
Post: #1
Coding Questions

Questions on some coding:


How can I activate an entity so that when someone walks near it, it appears and falls? (the situation is when someone is walking around a corner towards a table a body falls from the ceiling and lands on the table)

PLEASE DO NOT SEND ME A LINK TO THE SCRIPT FUNCTIONS! I am not good with the built in java coding (be that it is java)

AND I want the screen to move inwards slightly and make the low/loud booming noise along with the candle on the table to go out.

Next is I want to connect doors and I have no clue on how.

Thanks Smile
(This post was last modified: 03-11-2012 03:20 AM by rjmcfarland.)
03-11-2012 03:12 AM
Find all posts by this user Quote this message in a reply
Your Computer Offline
SCAN ME!

Posts: 3,475
Joined: Jul 2011
Reputation: 234
Post: #2
RE: Coding Questions

The game doesn't use Java. Java is more complex than what we've been exposed to with HPL2 scripting. If you want to understand how to do what you're requesting, you're going to have to review and study the engine scripts wiki article anyway.

You're going to need: AddEntityCollideCallback, SetEntityActive, FadePlayerFOVMulTo and GiveSanityDamage.

I have no idea what you mean by connecting doors.

Tutorials: From Noob to Pro
(This post was last modified: 03-11-2012 03:54 AM by Your Computer.)
03-11-2012 03:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)