Forum: NPC Scripting
01-27-2002, 04:37 AM
|
|
Replies: 25
Views: 3,202
Try something like this:
if (created)...
Try something like this:
if (created) timeout=0.05;
if (timeout) {
if ((abs(this.px-playerx)>0.6)||(abs(this.py-playery)>0.6)) {
playerx=this.px;
playery=this.py;
}
...
|
Forum: Future Improvements
01-27-2002, 02:45 AM
|
|
Replies: 9
Views: 1,281
|
Forum: Bomy Island Main Forum
01-27-2002, 02:44 AM
|
|
Replies: 13
Views: 1,152
|
Forum: Bomy Island Main Forum
01-27-2002, 02:42 AM
|
|
Replies: 13
Views: 1,429
Yeah, I know. That guy was great. But some...
Yeah, I know. That guy was great. But some poeple here didn't like it... There were lots of advantages to the guy. You could easily find the position to warp to with Level Links, you could easily...
|
Forum: PlayerWorlds Main Forum
01-27-2002, 02:39 AM
|
|
Replies: 105
Views: 7,236
|
Forum: Bomy Island Main Forum
01-27-2002, 02:08 AM
|
|
Replies: 13
Views: 1,429
|
Forum: Bomy Island Main Forum
01-27-2002, 02:05 AM
|
|
Replies: 12
Views: 1,081
|
Forum: NPC Scripting
01-27-2002, 02:00 AM
|
|
Replies: 16
Views: 2,697
|
Forum: Bomy Island Main Forum
01-27-2002, 01:48 AM
|
|
Replies: 31
Views: 1,832
|
Forum: PlayerWorlds Main Forum
01-26-2002, 11:58 AM
|
|
Replies: 41
Views: 2,615
|
Forum: Bomy Island Main Forum
01-26-2002, 10:40 AM
|
|
Replies: 31
Views: 1,832
|
Forum: NPC Scripting
01-26-2002, 10:36 AM
|
|
Replies: 7
Views: 1,584
You mean only call the event on a certain NPC? ...
You mean only call the event on a certain NPC? Try setting a special number to one of the npc's save variables, then looping through all the NPC's in the level looking for the NPC with the certain...
|
Forum: NPC Scripting
01-26-2002, 10:33 AM
|
|
Replies: 3
Views: 2,284
|
Forum: Tech Support
01-26-2002, 07:43 AM
|
|
Replies: 108
Views: 8,927
That would be nice! ^_^ I noticed that...
That would be nice! ^_^ I noticed that setstring didn't work on NPC Server last night Stefan. But, I was setting and reading a server.string from an NPC Weapon. Stefan, can NPC Weapons set and...
|
Forum: Tech Support
01-25-2002, 12:23 PM
|
|
Replies: 108
Views: 8,927
|
Forum: Future Improvements
01-25-2002, 12:15 PM
|
|
Replies: 12
Views: 859
|
Forum: Tech Support
01-25-2002, 10:44 AM
|
|
Replies: 108
Views: 8,927
|
Forum: Tech Support
01-25-2002, 10:28 AM
|
|
Replies: 108
Views: 8,927
|
Forum: Bomy Island Main Forum
01-25-2002, 09:26 AM
|
|
Replies: 99
Views: 4,596
|
Forum: Bomy Island Main Forum
01-25-2002, 08:29 AM
|
|
Replies: 99
Views: 4,596
|
Forum: NPC Scripting
01-25-2002, 08:24 AM
|
|
Replies: 16
Views: 2,697
Ok. This is what is going on (If I remember...
Ok. This is what is going on (If I remember correctly what Stefan said).
In a non-p2p server (Non NPC Server), the first person in the level runs all the timeouts in NPCs. So, all timeouts are...
|
Forum: Bomy Island Main Forum
01-25-2002, 08:17 AM
|
|
Replies: 5
Views: 763
|
Forum: Bomy Island Main Forum
01-25-2002, 07:41 AM
|
|
Replies: 20
Views: 1,332
|
Forum: NPC Server
01-25-2002, 07:26 AM
|
|
Replies: 11
Views: 764
|
Forum: NPC Server
01-25-2002, 07:19 AM
|
|
Replies: 11
Views: 764
Yay! It worked. I also found out that you need...
Yay! It worked. I also found out that you need to put setshape in both clientside and serverside. Clientside if you wanna change how the NPC blocks the player, and serverside for triggeraction and...
|