How disable weapons when swimming in water

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
aicd99
Posts: 264
Joined: Mon Oct 10, 2011 11:17 am

How disable weapons when swimming in water

Post by aicd99 »

When you get into a liquid you can use weapons but when I get on the water
I want it to be disabled until you get off the water
Last edited by aicd99 on Tue Jan 03, 2017 11:30 am, edited 1 time in total.
User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: How disable weapons in swimming in water

Post by QuestOfDreams »

In the weapon INI file set/add

Code: Select all

worksunderwater = false
for each weapon definition in question.
User avatar
aicd99
Posts: 264
Joined: Mon Oct 10, 2011 11:17 am

Re: How disable weapons in swimming in water

Post by aicd99 »

QuestOfDreams wrote:In the weapon INI file set/add

Code: Select all

worksunderwater = false
for each weapon definition in question.
Thank you but why are you not answering my other question ?
I really need an answer
User avatar
aicd99
Posts: 264
Joined: Mon Oct 10, 2011 11:17 am

Re: How disable weapons when swimming in water

Post by aicd99 »

Is there a way to hide the weapon while underwater?
User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: How disable weapons when swimming in water

Post by QuestOfDreams »

No, not automatically.
Post Reply