unrealwiki:Scratchpad

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 08:56, 18 January 2010 by 00zX (talk | contribs)

This page is for pasting code you want to show someone as an example or to get assistance with. This allows you to easily collaborate with someone to solve a problem, and allows easy comparisons of the edits.

You are free to remove any existing code from below, and paste your code between the <uscript> </uscript> tags. If the page hasn't been edited in the last few hours (the last edit timestamp is 2010-01-18 08:56:59), you can assume it isn't needed anymore and can be removed. A full edit history will be available, so don't worry about losing anything you removed.

Clean up after you're done!


redlink

<uscript> // paste your code here </uscript>

&&(

<uscript> class morehighlightertests extends foobar abstract native nonreplication server;

static final function bool why (matrix M, vector V, class<UTWeapon> cW, array< class <stuff>> ScA) { // Physics if( (!bSkipActorPropertyReplication || bNetInitial) && bReplicateMovement && ((RemoteRole == ROLE_SimulatedProxy) && (bNetInitial || bUpdateSimulatedPosition)) ) }

/* No highlighting for || */

if((stuff == 'madness')||((V == M)&&(cW=ScA[i])){} </uscript>

<uscript> reliable server function ServerRestartPlayer() { if (WorldInfo.NetMode != NM_Client && Pawn != None) { ServerGivePawn(); } } </uscript>


<uscript> //Testing UScript Object_Structs highlighting vector matrix rotator enum struct vector2d color double Quat LinearColor

//Testing UScript Major Classes/common Var highlighting Weapon Other Instigator Actor Controller LightType Level WorldInfo Pawn PlayerController Material Texture Effects Info

Emitter Projector DamageType GameInfo GameRules PlayerReplicationInfo GameReplicationInfo Inventory Vehicle StaticMesh NavigationPoint

Component ActorComponent PrimitiveComponent SVehicleSimBase StaticMeshComponent SkeletalMeshComponen

Sound SoundNode SoundCue

Spawn

// Testcing Uscript Secondary Syntax flags Self Owner Optional Out Object Native

Private Protected Localized Config GlobalConfig RepNotify Transient

Final Server Client Simulated Iterator Operator </uscript>