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
a question...
Author Message
Danny Boy Offline
Posting Freak

Posts: 2,730
Joined: Mar 2011
Reputation: 81
Post: #1
a question...

is it possible to make a entety to spawn at a area? i don't mean active or unctive i mean that in map editor there is nothing but walls and some areas... but wend i for example collide whit a area.... a monster will spawn on a specific area... why do want to do this like this? well i have my motives... so is it possible to do it?
05-26-2011 01:25 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Joined: Mar 2009
Reputation: 66
Post: #2
RE: a question...

What's the difference? You can place entities deactivated, then activate specific entity you want to create at that area.

Wiki has something for this.

void CreateEntityAtArea(string& asEntityName, string& asEntityFile, string& asAreaName, bool abFullGameSave);

Creates an entity at an area.

asEntityName - internal name
asEntityFile - entity to be used + extension .ent
asAreaName - the area to create the entity at
abFullGameSave - determines whether an entity “remembers” its state

05-26-2011 01:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Danny Boy Offline
Posting Freak

Posts: 2,730
Joined: Mar 2011
Reputation: 81
Post: #3
RE: a question...

(05-26-2011 01:41 PM)Tanshaydar Wrote:  What's the difference? You can place entities deactivated, then activate specific entity you want to create at that area.

Wiki has something for this.

void CreateEntityAtArea(string& asEntityName, string& asEntityFile, string& asAreaName, bool abFullGameSave);

Creates an entity at an area.

asEntityName - internal name
asEntityFile - entity to be used + extension .ent
asAreaName - the area to create the entity at
abFullGameSave - determines whether an entity “remembers” its state

well do you remenber that one time i asked you at youtube how did you made the bilboard disapear from the flash light? but you said it wouldn't work the same way whit a monster? well this is kinda a way to go around that problem... or do you rather see some glowing eyes float in the nothing?
(This post was last modified: 05-26-2011 05:32 PM by Danny Boy.)
05-26-2011 05:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Tanshaydar Offline
From Beyond

Posts: 3,085
Joined: Mar 2009
Reputation: 66
Post: #4
RE: a question...

Hmm. I still have some floating billboards. Did you find a workaround?

(This post was last modified: 05-27-2011 06:48 AM by Tanshaydar.)
05-27-2011 06:47 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)