Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Trigger an object with collision?

Author
Message
Susysyay
14
Years of Service
User Offline
Joined: 2nd Nov 2009
Location: Chicago
Posted: 31st Oct 2013 03:59
Is there anyway to trigger an object, say a door or wall, with collision?

I can trigger an immobile object just fine, but I can't seem to make it spawn with collision. Im always able to walk right through it

Any help would be greatly appreciated.

-Winner of the X10 Revival Competition, Susysyay
"I'm havin' too good a time today, I ain't even thinkin' bout tomorrow."
ncmako
12
Years of Service
Recently Online
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 31st Oct 2013 05:34
Hi susysyay
Take a quick look at your scripts for this entity and see if
"coloff" is anywhere in there. I sometimes use the "appear_coloff.fpi" by mistake.
Burger
11
Years of Service
User Offline
Joined: 22nd Jun 2012
Location: New Zealand
Posted: 1st Nov 2013 05:55
Quote: "Is there anyway to trigger an object, say a door or wall, with collision?"


In the appear.fpi script of the entity, and 'colon' to the script.

- An Instinctive Fear IndieDB page, download the demo today!
BlackFox
FPSC Master
15
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 3rd Nov 2013 14:58
As mentioned, "colon" in the action side of the script for the entity spawning (usually in the start script, but can be in main). And ensure the entity is set to dynamic, not static.


There's no problem that can't be solved without applying a little scripting.

Login to post a reply

Server time is: 2024-04-26 11:17:47
Your offset time is: 2024-04-26 11:17:47