Reply to Re: Scripting question
If you don't have an account, just leave the password field blank.
: This must be a very easy one to answer, and I feel like a newbie asking, but since I have no clue how to do it...
: How do you put a static graphic (a wall and such) on screen by using a procedure?
: I've tried the int &name = create_sprite(); but that doesn't work.
: And how do you move such a sprite without seeing the other sprites that are in the same sequence?
What brain are you giving the sprite?
Have you set sp_speed()?
Set brain to 0, give a speed of say 3 and see what happens. I usually have sprites that are static placed in the map already and then attach a script that moves them on certain triggers (ie being pushed, hit...) So I'm not sure 100% on the brain setting (I don't actually set it via the script).
: Like moving a wall - I've seen it in some D-mod, but can't remember which one.
: Thanks.
: How do you put a static graphic (a wall and such) on screen by using a procedure?
: I've tried the int &name = create_sprite(); but that doesn't work.
: And how do you move such a sprite without seeing the other sprites that are in the same sequence?
What brain are you giving the sprite?
Have you set sp_speed()?
Set brain to 0, give a speed of say 3 and see what happens. I usually have sprites that are static placed in the map already and then attach a script that moves them on certain triggers (ie being pushed, hit...) So I'm not sure 100% on the brain setting (I don't actually set it via the script).
: Like moving a wall - I've seen it in some D-mod, but can't remember which one.
: Thanks.
