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
Need some help with my FAST MONSTER script
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#13
RE: Need some help with my FAST MONSTER script

(12-22-2012, 10:55 PM)beecake Wrote: Yes.

In the interact-tab in the doors properties you write: Interact4Doors

script:

void Interact4Doors(string &in asEntity)
{
if(GetLocalVarInt("4Doors") == 4)
{
SetSwingDoorLocked("Door_"+RandInt(1,4), false, true);
}

else
{
if(GetLocalVarInt(asEntity) == 1)
{
return;
}
AddLocalVarInt("4Doors", 1);
AddLocalVarInt(asEntity, 1);
}
}

This means the 4 doors should be named: Door_1, Door_2, Door_3, Door_4

I am gonna check it out!
Thank you for the fast response!
Keep you up if works ..
IT WILL hehheh! Just to let you nkow!
THANKS!!
12-23-2012, 01:00 AM
Find


Messages In This Thread
RE: Need some help with my FAST MONSTER script - by DnALANGE - 12-23-2012, 01:00 AM



Users browsing this thread: 1 Guest(s)