Page 1 of 1
code/script (whatever it's called.)
Posted: July 12th, 2010, 10:45 pm
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
Re: code/script (whatever it's called.)
Posted: July 13th, 2010, 12:26 am
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...).
Re: code/script (whatever it's called.)
Posted: July 13th, 2010, 12:54 am
by GR1M
You can start by looking at the code in RPG Chief Orgro -->
http://sandboxgamemaker.com/download-sandbox.html
Re: code/script (whatever it's called.)
Posted: July 13th, 2010, 8:09 am
by PizzaLover101
BTW: It's cubescript
Re: code/script (whatever it's called.)
Posted: July 13th, 2010, 9:15 am
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

Re: code/script (whatever it's called.)
Posted: July 13th, 2010, 11:44 am
by siimvuss
hey arc could I get link to your tut, so I could post it to andbox tutorial page?
Re: code/script (whatever it's called.)
Posted: July 13th, 2010, 12:11 pm
by arcones
Re: code/script (whatever it's called.)
Posted: July 13th, 2010, 1:24 pm
by Codeman
thank you. and i can figure out where to put it.

Re: code/script (whatever it's called.)
Posted: July 13th, 2010, 1:29 pm
by arcones
k, good

Re: code/script (whatever it's called.)
Posted: July 13th, 2010, 4:31 pm
by PizzaLover101
That is very good, can you tell us about the project that ur working on?