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 Spawn "Entity" when entering a Scrip Area, is it possible?
Stenkilde Offline
Junior Member

Posts: 24
Threads: 4
Joined: Jul 2012
Reputation: 0
#1
Spawn "Entity" when entering a Scrip Area, is it possible?

As the Subject says.

Is it possible? I followed all of "
ThisIsYourComputer"s videos.
I'm a retard with C++ still, and getting a hang of it, but i really can't figure out if this can happen, and how to do it?

I don't want someone to walk me hand in hand to it. But just info on how it can be done.

Thanks everyone, i'm making a custom story, and i want it really good!
Thank you again!
07-07-2012, 01:32 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#2
RE: Spawn "Entity" when entering a Scrip Area, is it possible?

You use AddEntityCollideCallback and SetEntityActive (or CreateEntityAtArea)

(This post was last modified: 07-07-2012, 02:17 PM by SilentStriker.)
07-07-2012, 02:16 PM
Find
Stenkilde Offline
Junior Member

Posts: 24
Threads: 4
Joined: Jul 2012
Reputation: 0
#3
RE: Spawn "Entity" when entering a Scrip Area, is it possible?

(07-07-2012, 02:16 PM)SilentStriker Wrote: You use AddEntityCollideCallback and SetEntityActive (or CreateEntityAtArea)
Thank you!

You saved my day, and i will give you some credit in my CS! Smile
07-07-2012, 02:37 PM
Find
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#4
RE: Spawn "Entity" when entering a Scrip Area, is it possible?

(07-07-2012, 02:37 PM)Stenkilde Wrote:
(07-07-2012, 02:16 PM)SilentStriker Wrote: You use AddEntityCollideCallback and SetEntityActive (or CreateEntityAtArea)
Thank you!

You saved my day, and i will give you some credit in my CS! Smile
You are welcome Smile

No need to give me credit for that, I was just helping Smile

Also welcome to the forum! Smile

(This post was last modified: 07-07-2012, 02:44 PM by SilentStriker.)
07-07-2012, 02:43 PM
Find
Stenkilde Offline
Junior Member

Posts: 24
Threads: 4
Joined: Jul 2012
Reputation: 0
#5
RE: Spawn "Entity" when entering a Scrip Area, is it possible?

(07-07-2012, 02:43 PM)SilentStriker Wrote: You are welcome Smile

No need to give me credit for that, I was just helping Smile

Also welcome to the forum! Smile
I think everyone who helps me deserve some sort of "credit".

Thanks for the welcome, warms my heart! Smile
07-07-2012, 03:02 PM
Find
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#6
RE: Spawn "Entity" when entering a Scrip Area, is it possible?

Your heart will go cold any moment soon.


>Smile

Hi.
07-07-2012, 05:59 PM
Website Find
ApeCake Offline
Member

Posts: 116
Threads: 20
Joined: Jun 2012
Reputation: 4
#7
RE: Spawn "Entity" when entering a Scrip Area, is it possible?

(07-07-2012, 01:32 PM)Stenkilde Wrote: Thanks everyone, i'm making a custom story, and i want it really good!
(07-07-2012, 01:32 PM)Stenkilde Wrote: and i want it really good!
(07-07-2012, 01:32 PM)Stenkilde Wrote: i want it really good!
Save this forum from all the badly created troll maps! Seriously, there need to be more people that want there maps to be good, most of them lack detail or have a ton of overlapping textures. I am excited for your map already Tongue

About the code part; I assume you already know this, but check out http://wiki.frictionalgames.com/hpl2/amn..._functions if you didn't. Amazing stuff.
07-07-2012, 06:40 PM
Find




Users browsing this thread: 2 Guest(s)