Frictional Games Forum (read-only)
Spawn monster upon interacting with phonograph - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Spawn monster upon interacting with phonograph (/thread-17940.html)



Spawn monster upon interacting with phonograph - 2pikachuno - 08-24-2012

How can I get a monster to spawn after i wind up the phonograph?


RE: Spawn monster upon interacting with phonograph - johnbox - 08-24-2012

http://wiki.frictionalgames.com/hpl2/tutorials/scripting/triggering_monsters_on_entities


before posting questions in the forum, please look into the wiki ;) it'll help you in most cases :)


edit: if you looked it up, but didn't find anything, or didn't unterstand it, you're obviously welcome to ask in the forum. the wiki should just prevent asking the same questions over and over.


RE: Spawn monster upon interacting with phonograph - Your Computer - 08-24-2012

SetEntityConnectionStateChangeCallback


RE: Spawn monster upon interacting with phonograph - johnbox - 08-24-2012

my lovely android browser just loves to mess everything up, sorry-_-

and i don't think he already looked in the wiki, then he would probably explain a problem, or something he didn't understand. in this case, he asked for the complete thing, and if we have a complete wiki-article about it, why shouldn't i post it for him..? :/


RE: Spawn monster upon interacting with phonograph - Ongka - 08-24-2012

(08-24-2012, 09:51 PM)johnbox Wrote: my lovely android browser just loves to mess everything up, sorry-_-

and i don't think he already looked in the wiki, then he would probably explain a problem, or something he didn't understand. in this case, he asked for the complete thing, and if we have a complete wiki-article about it, why shouldn't i post it for him..? :/
I'm sorry. It just looked like you repeated it for no reason.
The wiki is pretty good, but i don't think that you know what to do will all that fancy stuff if you're completely new to scripting.


RE: Spawn monster upon interacting with phonograph - johnbox - 08-24-2012

(08-24-2012, 09:58 PM)Ongka Wrote:
(08-24-2012, 09:51 PM)johnbox Wrote: my lovely android browser just loves to mess everything up, sorry-_-

and i don't think he already looked in the wiki, then he would probably explain a problem, or something he didn't understand. in this case, he asked for the complete thing, and if we have a complete wiki-article about it, why shouldn't i post it for him..? :/
I'm sorry. It just looked like you repeated it for no reason.
The wiki is pretty good, but i don't think that you know what to do will all that fancy stuff if you're completely new to scripting.

ok, that's right. but if he's completely new to scripting, the beginner-tutorials on the wiki will probably give him a basic knowledge o all this stuff. it would be hard to explain this case with examples in a thread, without any basic knowledge. and also if you just explain this one thing, he maybe just copies the code into his script file, but didn't really learn anything. :/