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 / carrying objects

Author
Message
The Storyteller 01
16
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 17th Apr 2010 23:59 Edited at: 18th Apr 2010 00:01
Is there a condition in any mod or will there be one in the future like :

I actually mean when carrying around something visibly - not picking something up that vanishes into the virtual inventory.

In case you find my grammar and spelling weird ---> native German speaker ^^
Pandagamesorg
15
Years of Service
User Offline
Joined: 12th Dec 2009
Location: check your moms room :D
Posted: 23rd Apr 2010 22:55
I'm sure that Fenixmod or Airmod has it so you press "F" you pick it up like in Half-Life
HazardStudios
15
Years of Service
User Offline
Joined: 3rd Jan 2010
Location:
Posted: 23rd May 2010 17:57
You know that you can pickup boxes, items etc by pressing the Left Mouse Button if you do not have a weapon equipped?

the apocalypse begins... 20/1/2010
HazardStudios
15
Years of Service
User Offline
Joined: 3rd Jan 2010
Location:
Posted: 23rd May 2010 17:58
So you don't really need a mod...

the apocalypse begins... 20/1/2010
The Storyteller 01
16
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 23rd May 2010 18:51
You have no idea what you are talking about, right?

In my first post I clearly asked about a condition that lets a script check if the player is carrying a certain item.

In case you find my grammar and spelling weird ---> native German speaker ^^
Gibba gobba
16
Years of Service
User Offline
Joined: 21st Dec 2008
Location: regret
Posted: 22nd Jun 2010 09:27
you mean an event triggered if the player is carrying a specified object?

Changing the world of game making, one line of code at a time!
Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 22nd Jun 2010 23:55
I am not aware of a specific condition for that...

For PB (sorry, I always use PB) you might be able to work around it, though, by doing the following:
- Use "SetTargetHeld" to set the target to the entity that the player is holding, if the player is holding something.
- Then use "HaveTarget" to find out if the entity now has a valid target or not.

Just a quick solution off the top of my head.


The one and only,


The Storyteller 01
16
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 23rd Jun 2010 00:30
Unfortunately I am not much of a scripter and absolutely clueless about coding.

But thinking about it....there MUST be some conditions hidden in the code. After all the engine has to check if the player is carrying an object to disable weapons.

In case you find my grammar and spelling weird ---> native German speaker ^^
Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 23rd Jun 2010 03:32 Edited at: 23rd Jun 2010 03:40
The engine is priviledged to using DBP code, not restricted to script commands.

[EDIT]
To elaborate on this a tad, no it wouldn't be hard at all to make a condition for what you want. (I swore that I had made one, but apparently it was only in my personal Mod for a competition that I never bothered to finish, lol)


The one and only,


Login to post a reply

Server time is: 2025-06-01 02:10:05
Your offset time is: 2025-06-01 02:10:05