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
Again an Error Message -.-
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#3
RE: Again an Error Message -.-

What is it exactly you want to do?

If you want the monster to spawn IF the lantern is lit i would use a "get" script.

And yes bool is usually true and false
Quote:main (134,11) : ERR : Expected data type

[line 32]

SetLanternLitCallback("l04");

[line 134 - 143]
void l04(true) < this is 'MyFunc'. I guess it should be: void l04(bool abLit). Or am i wrong?
{
SetEnemyDisableTrigger("serv", true);
AddEnemyPatrolNode("serv", "PathNodeArea_1", 0, "");
AddEnemyPatrolNode("serv", "PathNodeArea_2", 0, "");
AddEnemyPatrolNode("serv", "PathNodeArea_3", 0, "");
AddEnemyPatrolNode("serv", "PathNodeArea_4", 0, "");
AddEnemyPatrolNode("serv", "PathNodeArea_5", 0, "");
AddEntityCollideCallback("serv", "show_1", "lo010");
}

Trying is the first step to success.
(This post was last modified: 05-28-2012, 11:11 AM by FlawlessHappiness.)
05-28-2012, 11:04 AM
Find


Messages In This Thread
Again an Error Message -.- - by P44RTHURN4X - 05-28-2012, 10:18 AM
RE: Again an Error Message -.- - by Your Computer - 05-28-2012, 10:30 AM
RE: Again an Error Message -.- - by FlawlessHappiness - 05-28-2012, 11:04 AM
RE: Again an Error Message -.- - by jens - 05-28-2012, 11:13 AM
RE: Again an Error Message -.- - by Your Computer - 05-28-2012, 01:25 PM



Users browsing this thread: 1 Guest(s)