Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with making a Monster spawn upon note pick up.
RedSampson00 Offline
Junior Member

Posts: 11
Threads: 4
Joined: Nov 2012
Reputation: 0
#1
Help with making a Monster spawn upon note pick up.

Basically what the title says, how would I be able to make "servant_grunt_1" spawn upon picking up "note1". Thanks in advance for your support! Smile
08-03-2013, 10:33 PM
Find
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#2
RE: Help with making a Monster spawn upon note pick up.

It's not really that hard, all the commands can be found here

But here's the script:
void OnStart()
{
SetEntityPlayerInteractCallback("nameofyournote", "function1", true);
}

void function1(string &in asEntity)
{
SetEntityActive("nameofyourgrunt", true);
}

Just place the grunt and make him inactive, adjust the names in the script and you should be fine.
08-03-2013, 10:43 PM
Find
RedSampson00 Offline
Junior Member

Posts: 11
Threads: 4
Joined: Nov 2012
Reputation: 0
#3
RE: Help with making a Monster spawn upon note pick up.

(08-03-2013, 10:43 PM)Smoke Wrote: It's not really that hard, all the commands can be found here

But here's the script:
void OnStart()
{
SetEntityPlayerInteractCallback("nameofyournote", "function1", true);
}

void function1(string &in asEntity)
{
SetEntityActive("nameofyourgrunt", true);
}

Just place the grunt and make him inactive, adjust the names in the script and you should be fine.

Thanks for this, I'm kinda new to this so I won't be able to do even the basic scripting stuff XD
08-03-2013, 10:49 PM
Find
FurtherGames Offline
Member

Posts: 72
Threads: 23
Joined: Apr 2013
Reputation: 1
#4
RE: Help with making a Monster spawn upon note pick up.

If you are a complete beginner, follow this tutorial;

http://www.youtube.com/watch?v=2FR4p5tt0BY

This is the first part, there are six parts. It's one of the best Amnesia Custom Story Tutorials ever, in my opinion. It's what I used and I gained a lot of knowledge, the only thing is each episode is over 30 minutes long, I think the longest is around 1 hour 30 minutes. But if you really want to properly create a custom story, this is the tutorial.
08-04-2013, 09:38 PM
Find




Users browsing this thread: 2 Guest(s)