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
[Solved] - Area Collide Script Activation
Rokotain Offline
Member

Posts: 54
Threads: 9
Joined: Jul 2011
Reputation: 0
#1
[Solved] - Area Collide Script Activation

Hello Forum People! Smile

I'm quite new to scripting and don't understand 100% of Frictional Games's Scripting Tutorial. Blush

Basically what I want is that whenever the player walks into "Area1" he activates "Area2" which then activates "servant_grunt_1".

"Area1" is enabled at start of map.
"Area2" is disabled at start of map until "Area1" activates the script.

I need help with what to write in the script, something like PlayerCollide(Callback?).


What I currently have, is PlayerLookAtCallback, which causes the grunt to spawn whenever I look at the 2 areas I have specified :/

And there is no CollideCallback in the Script-Area Entity Tabs, only LookAtCallback & InteractCallback.

In this case, would colliding with the area count as an InteractCallback?

Also, I'm Norwegian so please excuse if there are any typos. Angel

Thanks for reading xD!
-Rokotain

*EDIT - I found the soultion in another help thread c:
Thanks anyways!

Still feel free to post answers here as it will help other players find the solution C:!
(This post was last modified: 07-20-2011, 08:31 PM by Rokotain.)
07-20-2011, 08:07 PM
Find


Messages In This Thread
[Solved] - Area Collide Script Activation - by Rokotain - 07-20-2011, 08:07 PM



Users browsing this thread: 1 Guest(s)