Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

code/script (whatever it's called.)

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
Codeman
Member
Member
Posts: 15
Joined: April 7th, 2010, 8:15 pm

code/script (whatever it's called.)

Post by Codeman »

okay so i'm trying to figure out how to give npc's health and how to make spells. I just want the script if you have it, not a paragraph explaining how to do it or where to find it all i want is a script.
p.s. any spell script will do as well as any npc health script too. :-l
siimvuss
Member
Member
Posts: 410
Joined: August 19th, 2009, 1:27 am
Name: S
IRC Username: S
Location: Estonia

Re: code/script (whatever it's called.)

Post by siimvuss »

The problem with what you´re asking is: NO-ONE will give you the script. People will help you, but by giving tutorials of documentation about it. The script you´ll use you have to make yourself. Learn to live in real world, where unless you pay you wont get anything free (be happy that the forum support is free...).
User avatar
GR1M
Support Team
Support Team
Posts: 1305
Joined: August 22nd, 2009, 4:35 pm
Name: Luke
IRC Username: Gr1m
Location: Texas
Contact:

Re: code/script (whatever it's called.)

Post by GR1M »

You can start by looking at the code in RPG Chief Orgro --> http://sandboxgamemaker.com/download-sandbox.html
Image
Want a user bar like this one? PM Leo
User avatar
PizzaLover101
Member
Member
Posts: 1751
Joined: October 23rd, 2009, 1:33 pm
Name: NAME
IRC Username: DaItsicle
Location: By a computer
Contact:

Re: code/script (whatever it's called.)

Post by PizzaLover101 »

BTW: It's cubescript
Project 1: Da Chest Collector [TBD]
Project 2: Tis a secret [End of summer] announcement June 22 2011
Project 3: An even bigger secret!

http://pizzagametime.tk/
http://forums.pizzagametime.tk/
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: code/script (whatever it's called.)

Post by arcones »

So here's a really Really quick script: (don't worry, I won't tell you where to put it or anything ;))

Code: Select all

spawn_lightning = [
	r_type $ENT_SPELL
	r_icon lightning
	r_description "This might hurt... a little."
	r_name "Lightning"
	r_spell_type $STYPE_TARGET
	r_spell_cost 57
	r_spell_effect 5
	r_addeffect $STATUS_HEALTH -85 0 $ATTACK MAGIC
	r_addeffect $STATUS_MAGIC (| $ATTACK AIR)
	r_addeffect $STATUS_AIR (| $ATTACK MAGIC)
	r_addeffect $PART_LIGHTNING 55
	r_addeffect $PART_EXPLOSION 35

	r_interact [
	]
]	  
Now, unless you know where to put this, it won't work... So if you need help just look at my tut and if you need help after that, ask. ;)

Arcones :geek:
Image
Want a user bar like this one? PM Leo!
siimvuss
Member
Member
Posts: 410
Joined: August 19th, 2009, 1:27 am
Name: S
IRC Username: S
Location: Estonia

Re: code/script (whatever it's called.)

Post by siimvuss »

hey arc could I get link to your tut, so I could post it to andbox tutorial page?
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: code/script (whatever it's called.)

Post by arcones »

Image
Want a user bar like this one? PM Leo!
Codeman
Member
Member
Posts: 15
Joined: April 7th, 2010, 8:15 pm

Re: code/script (whatever it's called.)

Post by Codeman »

thank you. and i can figure out where to put it. :lol:
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: code/script (whatever it's called.)

Post by arcones »

k, good :D
Image
Want a user bar like this one? PM Leo!
User avatar
PizzaLover101
Member
Member
Posts: 1751
Joined: October 23rd, 2009, 1:33 pm
Name: NAME
IRC Username: DaItsicle
Location: By a computer
Contact:

Re: code/script (whatever it's called.)

Post by PizzaLover101 »

That is very good, can you tell us about the project that ur working on?
Project 1: Da Chest Collector [TBD]
Project 2: Tis a secret [End of summer] announcement June 22 2011
Project 3: An even bigger secret!

http://pizzagametime.tk/
http://forums.pizzagametime.tk/
Locked