Forum: NPC Scripting
03-30-2011, 05:52 PM
|
|
Replies: 21
Views: 3,376
|
Forum: NPC Scripting
03-30-2011, 09:47 AM
|
|
Replies: 21
Views: 3,376
|
Forum: NPC Scripting
03-30-2011, 09:26 AM
|
|
Replies: 21
Views: 3,376
|
Forum: NPC Scripting
03-30-2011, 09:20 AM
|
|
Replies: 21
Views: 3,376
|
Forum: NPC Scripting
03-30-2011, 09:12 AM
|
|
Replies: 21
Views: 3,376
|
Forum: NPC Scripting
03-30-2011, 08:59 AM
|
|
Replies: 21
Views: 3,376
GUI Help
Ok so I've never tried to script with a GUI and am just trying to mess around with it a little bit. I want to change a player's name from the GUI Edit Text box, but when I try nothing happens. I...
|
Forum: NPC Scripting
03-05-2011, 04:50 AM
|
|
Replies: 7
Views: 2,605
Custom movement system..... disabledefmovement...
Custom movement system..... disabledefmovement won't work and I don't believe attackplayertoobj is a real command. I've tried attachplayertoobj from that script, but I'm not use to using it.
Thanks...
|
Forum: NPC Scripting
03-05-2011, 03:00 AM
|
|
Replies: 7
Views: 2,605
|
Forum: NPC Scripting
03-03-2011, 04:37 AM
|
|
Replies: 7
Views: 2,605
|
Forum: NPC Scripting
03-02-2011, 09:15 AM
|
|
Replies: 7
Views: 2,605
Player on Npc
I've tried a variety of different ways, but they all seem inconsistent so I'll just show and ask. I'm trying to detect the player on an npc, which really seems easy enough but for some reason acts...
|
Forum: PlayerWorlds Main Forum
03-02-2011, 07:10 AM
|
|
Replies: 42
Views: 5,782
|
Forum: NPC Scripting
02-21-2011, 10:55 PM
|
|
Replies: 51
Views: 10,387
Ok on the same subject still... I place the...
Ok on the same subject still... I place the custom bomb on a switch which opens a door, when the bomb explodes the door closes. This part works great except the door opens serverside. The bomb has...
|
Forum: NPC Scripting
02-20-2011, 09:00 AM
|
|
Replies: 4
Views: 1,934
|
Forum: NPC Scripting
02-20-2011, 08:30 AM
|
|
Replies: 4
Views: 1,934
Problems with onwater()
I have a custom bomb that works fine with default pics0 (I guess) graphics. If the bomb is dropped on water it "sinks" using destroy(), and it is checked severside with the onwater() command.
...
|
Forum: NPC Scripting
02-18-2011, 04:31 PM
|
|
Replies: 51
Views: 10,387
Thanks for the help again! I was trying to use...
Thanks for the help again! I was trying to use sleep to wait untill the bomb was off the switch because it triggers the function on every timeout, so while the bomb is on the switch, it continuously...
|
Forum: NPC Scripting
02-18-2011, 05:14 AM
|
|
Replies: 51
Views: 10,387
Ok so the main reason I was trying to use a...
Ok so the main reason I was trying to use a public function was to make sure that the script could be done clientside. Here is what I am working with now. It works, once but not twice, and is very...
|
Forum: NPC Scripting
02-17-2011, 11:16 PM
|
|
Replies: 51
Views: 10,387
It worked Clientside without a weapon script or...
It worked Clientside without a weapon script or level var... I just put //#CLIENTSIDE at the top and it worked for me and my buddy on clientside only. I don't know if it is suppose to work that way...
|
Forum: NPC Scripting
02-17-2011, 06:57 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-17-2011, 06:06 AM
|
|
Replies: 51
Views: 10,387
Yea I know but I am trying to get it to work...
Yea I know but I am trying to get it to work severside first. If it works severside I can put all the public functions clientside and get the same result clientside only, right? Plus my door script...
|
Forum: NPC Scripting
02-17-2011, 04:59 AM
|
|
Replies: 51
Views: 10,387
Yea Kinda figured that. I tried the...
Yea Kinda figured that. I tried the temp.door.type() and got nothing in RC. Maybe this should be done a different way? Maybe place everything in one function that connects objects and all with...
|
Forum: NPC Scripting
02-17-2011, 03:04 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-17-2011, 12:14 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-16-2011, 05:57 AM
|
|
Replies: 51
Views: 10,387
A trigger won't work clientside from the DB I...
A trigger won't work clientside from the DB I don't think, but I don't really know. I don't understand why it won't pick this up as a function though? A trigger would be great if I could work it...
|
Forum: NPC Scripting
02-16-2011, 04:27 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-16-2011, 01:42 AM
|
|
Replies: 51
Views: 10,387
Bump (sorta)
This is what I am working with,...
Bump (sorta)
This is what I am working with, and everything works Except calling the function from the SwitchDB to the door.
This is the Switch Database
function onCreated() {
SwitchDB =...
|