Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help script not working.
Author Message
Pandemoneus Offline
Senior Member

Posts: 328
Joined: Sep 2010
Reputation: 0
Post: #11
RE: Help script not working.
[Image: facepalm.jpg]

Sorry, but had to do it.

03-30-2011 05:16 PM
Find all posts by this user Quote this message in a reply
slamer80 Offline
Junior Member

Posts: 13
Joined: Mar 2011
Reputation: 0
Post: #12
RE: Help script not working.
I still don't understand... they have different names?
03-31-2011 11:21 PM
Find all posts by this user Quote this message in a reply
MrBigzy Offline
Senior Member

Posts: 616
Joined: Mar 2011
Reputation: 8
Post: #13
RE: Help script not working.
This is how it works; the AddEntityCollideCallback makes it so when you collide with an entity (usually an area), something happens. What happens depends on what function you give to the AddEntityCollideCallback. You gave it MonsterFunc1. Whatever you have inside MonsterFunc1 will happen, but you have it so both brutes activate for that function. You need to make a MonsterFunc2 and move one of the brutes to that function.
04-01-2011 12:39 AM
Find all posts by this user Quote this message in a reply
slamer80 Offline
Junior Member

Posts: 13
Joined: Mar 2011
Reputation: 0
Post: #14
RE: Help script not working.
Can you show my a script how to do that? As you can see there's Monsterfunc1 and monsterfunc2.


When i pasted your script above mine, the brute 1 didn't spawn, when i then added it next to the "activate brute 2" it spawned.
(This post was last modified: 04-01-2011 04:42 PM by slamer80.)
04-01-2011 04:40 PM
Find all posts by this user Quote this message in a reply
MrBigzy Offline
Senior Member

Posts: 616
Joined: Mar 2011
Reputation: 8
Post: #15
RE: Help script not working.
That's because in the original you put brute_2 and brute_3, and then later it seemed like it was supposed to be 1 and 2. Use the original script but use servant_brute_1 and servant_brute_2.
04-01-2011 06:38 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)