Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Ally command editing?

Author
Message
Ikey
15
Years of Service
User Offline
Joined: 17th Apr 2010
Location: Look in the back seat of your car
Posted: 25th Jan 2011 22:01
Where abouts in this script does it have the 'press g' and 'press h' commands?

Currently, when I am near the ally, it gives the option for them to follow/not follow. I need it so they begin to follow until a certain distance, and only stop when a trigger zone is stepped on.

Where should I place this into the script?



The code is not mine - it came with a script pack.

Thanks in advance.


Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 26th Jan 2011 02:08
Quote: "Where abouts in this script does it have the 'press g' and 'press h' commands?"


Quote: "scancodekeypressed=34 1"


There's another one for the 'h' key, they're within two lines of each other near the bottom of the script.


Quote: "I need it so they begin to follow until a certain distance, and only stop when a trigger zone is stepped on.

Where should I place this into the script?"


I suppose the most obvious answer would be "Where ever works", lol. I would have them stop via activation by the triggerzone, but it'd be up to you on how to do that exactly. I would look in the DarkAI sticky thread here for some DarkAI stuff. I've no experience using DarkAI, so I'm not much help there.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
Ikey
15
Years of Service
User Offline
Joined: 17th Apr 2010
Location: Look in the back seat of your car
Posted: 26th Jan 2011 23:53
Thanks for the help, Ply. ^-^

Man, is there a map for the key numbers?
I get stupidly confused by it...


Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 27th Jan 2011 01:10
There is a map of the keycodes in the community guide. I think page 52 or something like that. (It's in the middle of the scripting conditions list)


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
Ikey
15
Years of Service
User Offline
Joined: 17th Apr 2010
Location: Look in the back seat of your car
Posted: 27th Jan 2011 17:28
Epic.


Login to post a reply

Server time is: 2025-06-06 09:53:24
Your offset time is: 2025-06-06 09:53:24