Soon
Member
Posts: 50
Threads: 11
Joined: Sep 2010
Reputation:
0
|
Set Entity active for areas?
I noticed that you can have areas start as disabled. Would there be a way to activate them once a player picks up a certain item? I was looking for a SetAreaActive function but I only saw a SetEntityActive, would that work instead?
|
|
09-23-2010, 04:32 AM |
|
theDARKW0LF
Member
Posts: 150
Threads: 17
Joined: Sep 2010
Reputation:
0
|
RE: Set Entity active for areas?
Hehe, I have a post on the exact thing a few threads down the forum. Doesn't seem like many people know, I haven't gotten a response and I posted mine hours ago.
Check out my custom stories(1)(2)!
|
|
09-23-2010, 04:55 AM |
|
Soon
Member
Posts: 50
Threads: 11
Joined: Sep 2010
Reputation:
0
|
RE: Set Entity active for areas?
On a side note... I've been gettin this weird error and I don't see a problem with my code. It says unexpected file ending as the error. It doesn't give me the error when I take out a bit of code that's not even at the end. Does that mean there's too much code? Even if that were the case, my hps file is not even close to as big as one map in the actual game. So confused.
Cancel that.. I'm an idiot, rofl. Sometimes those {} brackets seem like they're there when they're not... damn if statements!
(This post was last modified: 09-23-2010, 05:09 AM by Soon.)
|
|
09-23-2010, 05:05 AM |
|
jens
Frictional Games
Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation:
202
|
RE: Set Entity active for areas?
You use setentityactive to set areas active
|
|
09-23-2010, 06:01 AM |
|
Soon
Member
Posts: 50
Threads: 11
Joined: Sep 2010
Reputation:
0
|
RE: Set Entity active for areas?
Thanks! This will save me time knowing that it will work before doing it.
|
|
09-23-2010, 06:08 AM |
|
Pandemoneus
Senior Member
Posts: 328
Threads: 2
Joined: Sep 2010
Reputation:
0
|
|
09-23-2010, 10:49 AM |
|