gagekilmer Ninja... nuff said
Joined: 09 Jan 2013 Posts: 53
|
Posted: Mon Mar 04, 2013 4:49 pm Post subject: running plotscript |
|
|
so im trying to make the character run, this is the script I am using
include, plotscr.hsd
include, scancode.hsi
plotscript, on keypress handler, begin
if(hero is walking(me) == false) then(
set hero speed(me, 2)
if(key is pressed(key:Shift)) then(
set hero speed(me, 4)
)
)
end
but whenever I run it, my character runs with the z key and at speed 10 not 4. those were the original parameters when I put it in the text file but I changed them before I compiled them |
|
Gizmog1 Don't Lurk In The Bushes!

Joined: 05 Mar 2003 Posts: 2257 Location: Lurking In The Bushes!
|
Posted: Mon Mar 04, 2013 11:36 pm Post subject: |
|
|
Check and make sure you don't have a .txt and a .hss lying around. The last time I had this problem, it was because I had renamed my .txt to .hss so I could compile it from within the editor, and later kept editing the .txt.
And make sure you're actually saving the game! I've also screwed that up a lot. |
|