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
Script Help Area let the touch symbol appear [Solved]
ShipinShen Offline
Junior Member

Posts: 23
Threads: 7
Joined: Apr 2014
Reputation: 0
#1
Area let the touch symbol appear [Solved]

I have an area, which let the thouch symbol appears..

Here are the screenshots

[Image: arear7quzdsxtp.jpg]

[Image: areasettingsjntqz1547u.jpg]

[Image: aregeneralz6o32qrbie.jpg]

And the script to it (script is working fine)

Quote://Door-Slam
void func_slam(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("AutoDoor", true, true);
StartPlayerLookAt("AutoDoor", 9, 9, "door");
PlaySoundAtEntity("", "react_breath_slow.snt", "Player", 0, false);
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
PlaySoundAtEntity("", "close_door.snt", "Player", 0, false);
GiveSanityDamage(5.0f, true);
AddTimer("", 1, "stop");
}

void stop(string &in asTimer)
{
StopPlayerLookAt();
}

void OnStart()
{
AddEntityCollideCallback("Player", "SlamArea", "func_slam", true, 1);
}
Is this a bug or a mistake in the settings, thanks for help Smile

ShipinShen - YouTube
(This post was last modified: 04-23-2014, 03:39 AM by ShipinShen.)
04-22-2014, 09:26 PM
Find


Messages In This Thread
Area let the touch symbol appear [Solved] - by ShipinShen - 04-22-2014, 09:26 PM
RE: Area let the touch symbol appear - by Mudbill - 04-22-2014, 09:57 PM
RE: Area let the touch symbol appear - by Acies - 04-22-2014, 10:42 PM



Users browsing this thread: 1 Guest(s)