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 Intro script help and monster nodes [SOLVED]
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#21
RE: Intro script help and monster nodes

I don't know if you have called the monster void anywhere in your code.. Unless I am missing something which you changed later (going off the code in post #12 here).

Your parameters suggest that it is a collide callback, which means that you have to collide with something before it happens. You could simply move the lines within the monster void to the appropriate case, or set up a timer instead of a collidecallback.

Also, not really required, but remember that the time idle at a pathnode should be a float (may need to fix that on the tutorial on the wiki). So you MAY need to add the appropriate f, like so:

PHP Code: (Select All)
AddEnemyPatrolNode("engineer_1""PathNodeArea_1"0.0f"");
AddEnemyPatrolNode("engineer_1""PathNodeArea_2"0.001f"");
AddEnemyPatrolNode("engineer_1""PathNodeArea_3"0.0f""); 

Also note that 0 does not mean 0 time at the pathnode, however the 0.001 is the closest to practically no time. If there are more pathnode, be sure to add them to the coding in the similar ways as above, and make sure that the same number of pathnodes are in your Level Smile

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 12-29-2013, 05:31 AM by Romulator.)
12-29-2013, 05:25 AM
Find


Messages In This Thread
RE: Intro script help - by WALP - 12-21-2013, 05:38 PM
RE: Intro script help - by lothabread - 12-21-2013, 06:42 PM
RE: Intro script help - by lothabread - 12-23-2013, 09:34 PM
RE: Intro script help - by lothabread - 12-26-2013, 07:35 AM
RE: Intro script help - by Romulator - 12-26-2013, 08:17 AM
RE: Intro script help - by lothabread - 12-26-2013, 09:09 AM
RE: Intro script help - by lothabread - 12-27-2013, 05:40 AM
RE: Intro script help - by lothabread - 12-27-2013, 07:05 AM
RE: Intro script help - by Romulator - 12-27-2013, 09:24 AM
RE: Intro script help - by daortir - 12-27-2013, 10:30 PM
RE: Intro script help - by lothabread - 12-28-2013, 02:04 AM
RE: Intro script help - by Romulator - 12-28-2013, 02:30 AM
RE: Intro script help - by lothabread - 12-28-2013, 03:40 AM
RE: Intro script help - by Slanderous - 12-28-2013, 12:28 PM
RE: Intro script help - by lothabread - 12-28-2013, 05:05 PM
RE: Intro script help - by Damascus - 12-29-2013, 01:01 AM
RE: Intro script help - by lothabread - 12-29-2013, 03:12 AM
RE: Intro script help - by daortir - 12-29-2013, 03:28 AM
RE: Intro script help and monster nodes - by Romulator - 12-29-2013, 05:25 AM



Users browsing this thread: 1 Guest(s)