BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Error Injecting Drool Links Saliva Mod Menu
Entities Empty10/18/2024, 2:58 am by SnB@BWH

» USB Gecko problems with some games
Entities Empty10/16/2024, 1:59 pm by Reclaimer Shawn

» JMaster Duel Bot: A Yu-Gi-Oh! Master Duel Bot and Trainer for Steam
Entities Empty10/11/2024, 2:21 pm by z1379228

» Metal Gear Solid V The Phantom Pain X Flashpoint Batman Gameplay unedited [Seth@WiiPlaza]
Entities Empty9/23/2024, 12:48 pm by Seth@WiiPlaza

» Dropped Out of College to Pursue Web Dev and Life Pursuits in General
Entities Empty8/9/2024, 7:09 am by SnB@BWH

» Lego Stars Wars: The Complete Saga [RLGE64]
Entities Empty8/1/2024, 2:04 am by Whatever_1240

» ASM <> Gecko Code Converter
Entities Empty7/29/2024, 11:15 am by Mac11ngAround

» German With a Jackhammer
Entities Empty7/28/2024, 3:42 pm by SnB@BWH

» Wii RAM Hacking: Pointers and ASM
Entities Empty7/23/2024, 1:54 pm by Mac11ngAround

» IBM AIX Assembler Programming Reference - Useful For PPC ASM
Entities Empty7/21/2024, 5:00 pm by Mac11ngAround

Search
 
 

Display results as :
 


Rechercher Advanced Search

November 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

Entities

Go down  Message [Page 1 of 1]

1Entities Empty Entities 9/1/2014, 2:49 am

Bully@WiiPlaza

Bully@WiiPlaza
 
 

An entity can hold variables and functions which can be accessed globally.

The syntax for calling a function by an entity is as follows:

Code:
entityName functionName(params);

Note:
Alternatively the keyword
Code:
thread
can be used between the entity name and the function name.

In order to call a method from another gsc file one has to type out the whole path
Code:
::
and finally
Code:
functionName(params);

Examples
Code:
self waittill("TMS");
This calls the function waittill from the self entity with one parameter.

Code:
self thread maps\mp\gametypes\_hud_message::hintMessage("Welcome to Bully@WiiPlaza's Lobby!");
This calls the hintMessage function with the text to display as parameter from the
Code:
maps\mp\gametypes\_hud_message
gsc file concurrently on the self entity.

Code:
weapon = player GetCurrentWeapon();
This calls the function GetCurrentWeapon() on the player entity and stores the return value into the variable weapon.

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum