The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
SetSwingDoorClosed?
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#1
SetSwingDoorClosed?

Ok, this is giving me the shits, and i just cant think of what to do.
SetSwingDoorClosed wont work...

Im trying to make it so that the wind blows the door open blah blah blah.
Its probably just something really stupid and obvious but it just wont open, it twiches sometimes but shit doesn't work.




void OnStart()
{
AddEntityCollideCallback("Player", "WindArea", "WindScare", true, 1);
SetSwingDoorDisableAutoClose("WindDoor", true);
}

void WindScare(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("WindDoor", false, true);
CreateParticleSystemAtEntity("DustPushing", "ps_dust_paper_blow.ps", "Particle_Spawn", true);
}

Im thinking it must be in the lvl editor, because im not getting errors, ill try it on a different door...

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
(This post was last modified: 01-15-2012, 09:54 AM by Tripication.)
01-15-2012, 06:58 AM
Find


Messages In This Thread
SetSwingDoorClosed? - by Tripication - 01-15-2012, 06:58 AM
RE: SetSwingDoorClosed? - by flamez3 - 01-15-2012, 07:19 AM
RE: SetSwingDoorClosed? - by Tripication - 01-15-2012, 07:35 AM
RE: SetSwingDoorClosed? - by flamez3 - 01-15-2012, 08:14 AM
RE: SetSwingDoorClosed? - by Tripication - 01-15-2012, 09:51 AM
RE: SetSwingDoorClosed? - by flamez3 - 01-15-2012, 09:53 AM
RE: SetSwingDoorClosed? - by Tripication - 01-15-2012, 09:54 AM



Users browsing this thread: 1 Guest(s)