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 / Return previous weapon

Author
Message
Tax 78
15
Years of Service
User Offline
Joined: 23rd Sep 2009
Location: Italy
Posted: 24th Jul 2012 22:37
Is there an action that allows you to return to the previous weapon?

Thank, Tax

Sorry but I use a translator
Tax 78
15
Years of Service
User Offline
Joined: 23rd Sep 2009
Location: Italy
Posted: 28th Jul 2012 11:56
There is no action for this

mmmhh... Too bad

Tax

Sorry but I use a translator
Akanto10
14
Years of Service
User Offline
Joined: 24th Apr 2010
Location: Earth
Posted: 28th Jul 2012 18:48
Well, you could use this:



It's a series of actions/conditions that will swap to the previous weapon slot (I hope that's what you wanted).

Hope that helps,
Akanto

| Windows 7 Home Premium 64 - Bit | AMD Athlon II X4 630 @ 2.8GHz | Nvidia GeForce GTX 460 1GB | 6GB DDR3 RAM | 1TB HDD |
Tax 78
15
Years of Service
User Offline
Joined: 23rd Sep 2009
Location: Italy
Posted: 28th Jul 2012 21:05
No!!! but thanks for reply

Don't the previous slot number, but weapon used earlier.

I need for the Air system v.3, where water will activate the hands to swim, but as soon as it comes out of the water back to the previous weapon

I don't know if you understand

Tax

Sorry but I use a translator
Akanto10
14
Years of Service
User Offline
Joined: 24th Apr 2010
Location: Earth
Posted: 28th Jul 2012 22:33
Oh, I see! That can also be done. Before switching to the hands, use this:



Then, when you're out of the water, use this (replace state=X with whatever number you want):



It's a little complicated, but I assume you have some scripting experience, as you've created an underwater system.

Hope that helps,
Akanto

| Windows 7 Home Premium 64 - Bit | AMD Athlon II X4 630 @ 2.8GHz | Nvidia GeForce GTX 460 1GB | 6GB DDR3 RAM | 1TB HDD |
Tax 78
15
Years of Service
User Offline
Joined: 23rd Sep 2009
Location: Italy
Posted: 29th Jul 2012 19:50 Edited at: 29th Jul 2012 19:52
Thanks for the tip,used dimvar=slot, in order to bring back to use the weapon with the related variable.

Now it works great

Thanks for helping me

Tax

Sorry but I use a translator
Akanto10
14
Years of Service
User Offline
Joined: 24th Apr 2010
Location: Earth
Posted: 4th Aug 2012 18:35
No problem, I'm happy to help.

Thanks,
Akanto

| Windows 7 Home Premium 64 - Bit | AMD Athlon II X4 630 @ 2.8GHz | Nvidia GeForce GTX 460 1GB | 6GB DDR3 RAM | 1TB HDD |

Login to post a reply

Server time is: 2024-11-23 21:51:35
Your offset time is: 2024-11-23 21:51:35