Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 4 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Soldier of Fortune
Category: SoFII Mapping
Mapping, modeling, scripting, skinning and all forms of editing for the game Soldier of Fortune II
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Scripting in BehavEd ! again :-)))
MasterP~rb
General Member
Since: Dec 23, 2006
Posts: 20
Last: Dec 23, 2006
[view latest posts]
Level 1
Category: SoFII Mapping
Posted: Wednesday, Nov. 27, 2002 06:25 pm
im wondering ,if i can write some scripts for the player (me) with behaved. if yes ,how to get them working in game?

thx again.... :s29:
Share |
mechanodroid~rb
General Member
Since: Dec 23, 2006
Posts: 154
Last: Dec 23, 2006
[view latest posts]
Level 4
Category: SoFII Mapping
Posted: Wednesday, Nov. 27, 2002 07:31 pm
Quote (MasterP @ Nov. 27 2002, 12:25 pm)
im wondering ,if i can write some scripts for the player (me) with behaved. if yes ,how to get them working in game?

thx again.... :s29:

Yes it's possible, our designers would do this sometimes in SoF2.  It's "affect 'player'", then stuff whatever set commands you need inside the affect.  In otherwords, the ICARUSname for the player is simply "player".

Just run the script by normal means (a scriptrunner fired by a trigger) or you can also have a spawnscript on the world.
Share |
MasterP~rb
General Member
Since: Dec 23, 2006
Posts: 20
Last: Dec 23, 2006
[view latest posts]
Level 1
Category: SoFII Mapping
Posted: Wednesday, Nov. 27, 2002 08:23 pm
hey , thx  :)  :)
Share |
MasterP~rb
General Member
Since: Dec 23, 2006
Posts: 20
Last: Dec 23, 2006
[view latest posts]
Level 1
Category: SoFII Mapping
Posted: Thursday, Nov. 28, 2002 11:25 am
hmmmmm....could you show me an example? would be nice of you  :)
Share |
mechanodroid~rb
General Member
Since: Dec 23, 2006
Posts: 154
Last: Dec 23, 2006
[view latest posts]
Level 4
Category: SoFII Mapping
Posted: Wednesday, Dec. 4, 2002 03:06 pm
Quote (MasterP @ Nov. 28 2002, 05:25 am)
hmmmmm....could you show me an example? would be nice of you  :)

Well, this is one example.  It's our "failed mission" script which runs a set health command on the player.

Code Sample

( Original filename: "S:\base\scripts\common\failed.txt" )

//Generated by BehavEd

rem ( "comment" );

affect ( "player",  INSERT )
{
   set (  "SET_HEALTH", "-1" );
}

Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Soldier of Fortune : SoFII Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»