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
Script Help Newbie problems that are driving me crazy!
Vic7im Offline
Junior Member

Posts: 44
Threads: 9
Joined: Sep 2012
Reputation: 3
#11
RE: Newbie problems that are driving me crazy!

Thank you for the replies, I've managed to fix it using an area callback though Tongue
09-22-2012, 11:55 AM
Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#12
RE: Newbie problems that are driving me crazy!

(09-22-2012, 11:55 AM)Vic7im Wrote: Thank you for the replies, I've managed to fix it using an area callback though Tongue
Well, at least it works now.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
09-22-2012, 11:58 AM
Website Find
Vic7im Offline
Junior Member

Posts: 44
Threads: 9
Joined: Sep 2012
Reputation: 3
#13
RE: Newbie problems that are driving me crazy!

(09-22-2012, 11:58 AM)Nemet Robert Wrote:
(09-22-2012, 11:55 AM)Vic7im Wrote: Thank you for the replies, I've managed to fix it using an area callback though Tongue
Well, at least it works now.
I've found the error re-checking scripts and the .lang file. Now it works like a charm =)


There's my story: http://www.frictionalgames.com/forum/thread-18457.html
09-22-2012, 11:15 PM
Find
Vic7im Offline
Junior Member

Posts: 44
Threads: 9
Joined: Sep 2012
Reputation: 3
#14
RE: Newbie problems that are driving me crazy!

More than a help with scripts, I'd like to know the exact value of Impulse given on a door to make it completely, but gently, open (as if it was opened by a player). Best thing I've come up with is
~ 20 but sometimes it simply bangs the door open. Thoughts?
(This post was last modified: 09-23-2012, 02:39 PM by Vic7im.)
09-23-2012, 02:38 PM
Find
Vic7im Offline
Junior Member

Posts: 44
Threads: 9
Joined: Sep 2012
Reputation: 3
#15
RE: Newbie problems that are driving me crazy!

Brutally Necroposting since creating a new thread is considered as spam.

I have some problems regarding activation/deactivation of props.

I have three crates, static-physics enabled. The player looks at them but can't interact wtih them. After a certain condition those crates are replaced with interactive ones.

since it's a bigger script ill just paste the relevant part
Spoiler below!


SetPropActiveAndFade("VanishBox1", false, 0);
SetPropActiveAndFade("VanishBox2", false, 0);
SetPropActiveAndFade("VanishBox3", false, 0);


Idk if I should remove the static physics flag, Ill try as soon as I get home. Thanks in advance for any helpful replies =)
09-27-2012, 03:24 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#16
RE: Newbie problems that are driving me crazy!

Ï would just use SetEntityActive("VanishBox1", true);

Trying is the first step to success.
(This post was last modified: 09-27-2012, 05:14 PM by FlawlessHappiness.)
09-27-2012, 05:14 PM
Find
Vic7im Offline
Junior Member

Posts: 44
Threads: 9
Joined: Sep 2012
Reputation: 3
#17
RE: Newbie problems that are driving me crazy!

(09-27-2012, 05:14 PM)beecake Wrote: Ï would just use SetEntityActive("VanishBox1", true);

Nvm,fixed it. Static entities can't disappear, interactive ones with a static flag can. Puzzling, but in the end it worked. Thanks for the reply anyway =)
09-27-2012, 05:17 PM
Find




Users browsing this thread: 4 Guest(s)