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
Scripting
Russ Money Offline
Senior Member

Posts: 360
Threads: 25
Joined: Dec 2010
Reputation: 4
#1
Scripting

I have a fair understanding of how some triggers work with scripting but I've run into an issue.

I'll lay it out easy for those knowledgeable.

I have an area named "monsterspawn", a grunt named "monster" and an area over the enemy named "monsterlook"
Now when the player collides with the area trigger, I want the following to happen:
The monster spawns
A sound is played, the monster's loud howl
The player focuses on "monsterlook" for 2 moments and the velocity can be 2 as well
Lastly the player loses focus on "monsterlook" after the allotted time.

I can get the player's focus on start but, the camera is locked and it's not when he hits the trigger.

Using the areas I have, can anyone show me how the script should look?

Much appreciated from the help I've gotten so far.
(This post was last modified: 01-04-2011, 01:35 PM by Russ Money.)
01-04-2011, 01:34 PM
Find


Messages In This Thread
Scripting - by Russ Money - 01-04-2011, 01:34 PM
RE: Scripting - by Equil - 01-04-2011, 06:04 PM
RE: Scripting - by Russ Money - 01-05-2011, 01:21 AM
RE: Scripting - by Equil - 01-05-2011, 02:21 AM
RE: Scripting - by Russ Money - 01-05-2011, 02:48 AM
RE: Scripting - by Equil - 01-05-2011, 03:17 AM



Users browsing this thread: 1 Guest(s)