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
Want Enemies to Open Doors
convolution223 Offline
Member

Posts: 78
Threads: 15
Joined: Jul 2011
Reputation: 0
#3
RE: Want Enemies to Open Doors

(07-14-2011, 07:16 AM)Paulpolska Wrote: Try this:

If(GetEntitiesCollide("A,"B") && if(GetSwingDoorLocked("door1")==false){
...

should work

Got an error, saying it's missing an "expected expression value" or something like that. now it says it's missing a parenthesis lol. okay, third time, here goes...

nope, he still broke through it in a pompous display of his brute strength (ha see what i did there) Sad

for the "expected expression" thing i just removed the second "if" and kept everything else, also it was missing a parenthesis on the end so here's the version i got running but he still won't open the door:
if (GetEntitiesCollide("brute1","EnemyAtDoor") && (GetSwingDoorLocked("door1")==false)){
SetSwingDoorClosed("door1", false, false);
}
(This post was last modified: 07-14-2011, 07:36 AM by convolution223.)
07-14-2011, 07:34 AM
Find


Messages In This Thread
Want Enemies to Open Doors - by convolution223 - 07-14-2011, 06:45 AM
RE: Want Enemies to Open Doors - by Paulpolska - 07-14-2011, 07:16 AM
RE: Want Enemies to Open Doors - by convolution223 - 07-14-2011, 07:34 AM
RE: Want Enemies to Open Doors - by Paulpolska - 07-14-2011, 07:34 AM
RE: Want Enemies to Open Doors - by bigfoot - 07-14-2011, 09:47 AM
RE: Want Enemies to Open Doors - by Kyle - 07-14-2011, 02:52 PM
RE: Want Enemies to Open Doors - by nemesis567 - 07-14-2011, 03:31 PM
RE: Want Enemies to Open Doors - by Kyle - 07-14-2011, 06:11 PM
RE: Want Enemies to Open Doors - by nemesis567 - 07-14-2011, 06:19 PM
RE: Want Enemies to Open Doors - by Dizturbed - 07-14-2011, 09:39 PM
RE: Want Enemies to Open Doors - by nemesis567 - 07-14-2011, 10:34 PM
RE: Want Enemies to Open Doors - by ferryadams11 - 07-15-2011, 02:29 PM



Users browsing this thread: 1 Guest(s)