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
Coding Questions
rjmcfarland Offline
Junior Member

Posts: 23
Threads: 5
Joined: Feb 2012
Reputation: 0
#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
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#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
Website Find




Users browsing this thread: 2 Guest(s)