[RESOLVED][RMVX REQUEST] - How to make lamps illuminate?

Started by arisenhorizen, December 03, 2009, 04:26:14 am

Previous topic - Next topic


December 03, 2009, 04:26:14 am Last Edit: December 04, 2009, 08:41:12 am by arisenhorizen
Hey guys,

I know that this might be simple ... but,

I was watching this video in YouTube that day, and I wondered how to illuminate the lamp (make the lamp "glow").

Also, how to make a glow of light follow you while you're in a dungeon and everywhere else is pitch black?

*If you're wondering, the video is at http://www.youtube.com/watch?v=JfFGv2uUQzw.

Thanks in advance.


December 03, 2009, 04:55:33 am #1 Last Edit: December 03, 2009, 09:51:31 am by Jackolas
in Xp you use a script for that

in VX I would not know, probably also a script



Thanks ... but there's an error.

Line62, SystemStackError occured.
stack level too deep.

this is line 62 :   if event.list.code == 108 and event.list.parameters == ["FIRE"]


December 04, 2009, 04:01:24 am #3 Last Edit: December 04, 2009, 04:11:55 am by Jackolas
you sure you copyed alright?

if event.list.code == 108 and event.list.parameters == ["FIRE"]

this should be:
if event.list[i].code == 108 and event.list[i].parameters == ["FIRE"]

your missing the

(next thing I gone say can be horrible wrong since I don't know enough of coding)
most of the time the "i" stands for Index.
this is most of the time multiple numbers and will result in multiple responses.
this allows scripters to use 1 bid of code for like 1000 actions instead of writing the code 1000 of times for all 1000 actions.
that's why I think stack is to deep. because it gets to many answers since it will not know what answer to take.


for 0..10
 action[i] = do_action[i]

is the same as:

action[0] = do_action0
action[1] = do_action1
action[2] = do_action2
action[3] = do_action3
action[4] = do_action4
action[5] = do_action5
action[6] = do_action6
action[7] = do_action7
action[8] = do_action8
action[9] = do_action9
action[10] = do_action10

see. a lot easier. but it will require the "i" to tell them its multiple numbers


lol, I copied wrongly. Thanks for explaining.  :^_^':