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 / give player command

Author
Message
chorelan
14
Years of Service
User Offline
Joined: 9th Dec 2010
Location: trolling in a forum near you!
Posted: 29th Jan 2011 22:01
is there a command in fpsc that will give the player a specified entity?

bhawkgames.blogspot.org
AJ Schaeffer
15
Years of Service
User Offline
Joined: 22nd Aug 2009
Location: Jacksonville,FL
Posted: 1st Feb 2011 02:03
why would u give and entity

Can I make video games? Yes. Can I make Halo? Of course not. Does that make me a bad game maker? No. If someone tells you that you cant make games (unless you really cant), tell them to [Removed].
chorelan
14
Years of Service
User Offline
Joined: 9th Dec 2010
Location: trolling in a forum near you!
Posted: 1st Feb 2011 02:37
because i want there to be a choice in the game, press left to get a machete, right to get a bat

bhawkgames.blogspot.org
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 1st Feb 2011 09:50
I don't believe there is such a command within stock FPSC.

You could achieve a simililar result with spawning - i.e. press left to spawn a machete, etc. but cannot directly change the players weapons with scripts.

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]
chorelan
14
Years of Service
User Offline
Joined: 9th Dec 2010
Location: trolling in a forum near you!
Posted: 1st Feb 2011 14:16
ok well i could get tht to work, can i use two ifused inputs?

bhawkgames.blogspot.org
Ched80
14
Years of Service
User Offline
Joined: 18th Sep 2010
Location: Peterborough, UK
Posted: 1st Feb 2011 17:54
I'm not sure about "ifused", but "settargetname=" works.

For example, create two weapons, but prevent them from spawning at the start, then use this somewhere in a script:



Hope that helps.

[url="http://raptr.com/No_Turn_Right?src=em_forum"][/url]

Login to post a reply

Server time is: 2025-06-06 10:09:48
Your offset time is: 2025-06-06 10:09:48