Joined: Wed Dec 09, 2015 2:18 pm Posts: 196
|
Pseudo functions version 4: Player IS: If on vision an object (object type: emitter particle, light, sound and music, sprite, pickup, vehicle, player, NPC) If in area (in coordinates) If defined If connected If admin? If in game If alive If in a vehicle If in any vehicle If driver If passenger If standing If lying on the ground If is control If burning If following an object If wanted If wasted If attacking an object If on vision for other object If object does not see If received damage If in water If on ground If collided an object If leader of group? If group defined If cam path defined? If range of point If range of object (This object: player, vehicle, object, etc) If moved If key press (Virtual key: 0-255) If key down If key up If press game key (example "fire", "sprint", "jump", etc) If dead reason ID? If weapon reloading If weapon shooting
Player SET: Set cam Set cam angle Set cam zoom Reset cam Move cam at point on time (speed, time, point) Make cam path Delete cam path Add cam in path on time (speed, time, point) Remove cam from path Move cam path Stop cam Set cam following object Set cam un follow Set admin? Set walk speed Set run speed Set wanted level Set skin Set weapon and ammo Set slot current weapon Set health Set armor Make group (set leader and max members) Delete group Set max members of group Add player in group Set leader of group Remove from group Reset weapons Set nickname? Kick a player from the server Ban player on server Unban player on server (by IP and nickname in blacklist) Run animation (play) Stop animation Block control Enter vehicle on seat Exit from vehicle Go to point (if the character goes to the car) Set position (teleport) Kill Set damage object of weapon type Stop damage Respawn (returns to creation point) Set respawn Set follow object on speed (type of objects: emitter particle, light, sound and music, pickup, sprite, vehicle, player, NPC) Stop follow an object (specify the type and speed of the pursuit) Set destroy an object from weapon type. Stop (if it slows down in a car) Reset all actions and animations (the character will just stand still) Stop destroying an object Reset all objective tasks Reset respawn point (place of appearance after death) Put player in vehicle in seat Remove player from vehicle Send message Clear chat (clear chat for player) Set kills Set deads Set money Set hud Attach object Dettach object Attack object from weapon type (single or loop) Attack at point from weapon type (weapon type it arrays weapons of object) Stop attack Set collision? (This type: none, triger or solid body) Set current clip? Set clip from slot (10 / 30 here clip 30 and ammo 40)?
Player GET: Get cam position Get cam zoom Get cam path? Get nickname Get walk speed Get run speed Get wanted Level Get health Get armor Get current weapon Get weapon from slot Get ammo from slot Get ammo from current weapon Get current weapon slot Get vehicle Get a passenger seat Get max members of group Get members of group Get leader of group (leader this player) Blow up Set fire Put out Get type of the last damage (the type of weapon from which the player attacked and damage) Get angle Get coordinates Get current animation Get vision object Get attacking object Get current skin Get following object Get damaging object Get collided object Get distance of point Get distance of object Get pool players (This get array of player IDs) Get collision? Get current speed Get pool player from point of range Get current clip Get clip from slot (10 / 30 here clip 30 and ammo 40)
NPC IS: If on vision an object If in area (in coordinates) If defined If alive If in a vehicle If in any vehicle If driver If passenger If standing If lying on the ground If is control If burning If following an object If wanted If wasted If attacking an object If on vision for other object If object does not see If received damage If in water If on ground If collided an object If leader of group? If group defined If range of point If range of object (This object: player, vehicle, object, etc) If moved If dead reason ID? If weapon realoding If weapon shooting
NPC SET: Set walk speed Set run speed Set wanted level Set skin Set weapon and ammo Set slot current weapon Set health Set armor Make group (set leader and max members) Delete group Set max members of group Add NPC in group Set leader of group Remove from group Reset weapons Set name Run animation (play) Stop animation Block control Un block control Enter vehicle on seat Exit from vehicle Go to point (if the character goes to the car) Set position (teleport) Kill Set damage object of weapon type Stop damage Respawn (returns to creation point) Set respawn Set follow object on speed (type of objects: emitter particle, light, sound and music, pickup, sprite, vehicle, player, NPC) Stop follow an object (specify the type and speed of the pursuit) Set destroy an object from weapon type Stop (if it slows down in a car) Reset all actions and animations (the character will just stand still) Stop destroying an object Reset all objective tasks Reset respawn point (place of appearance after death) Put player in vehicle in seat Remove player from vehicle Send message Clear chat (clear chat for player) Set kills Set deads Set money Attach object Dettach object Attack object from weapon type (single or loop) Attack at point from weapon type (weapon type it arrays weapons of object) Stop attack Set protect proof Set collision? (This type: none, triger or solid body) Set current clip? Set clip from slot (10 / 30 here clip 30 and ammo 40)?
NPC GET: Get name Get walk speed Get run speed Get wanted Level Get health Get armor Get current weapon Get weapon from slot Get ammo from slot Get ammo from current weapon Get current weapon slot Get vehicle Get a passenger seat Get max members of group Get members of group Get leader of group (leader this player) Blow up Set fire Put out Get type of the last damage (the type of weapon from which the player attacked and damage) Get angle Get coordinates Get current animation Get vision object Get attacking object Get current skin Get following object Get damaging object Get collided object Get distance of point Get distance of object Get pool NPC (This get array of player IDs) Get protect proof Get collision? Get current speed Get pool NPC from point of range Get current clip Get clip from slot (10 / 30 here clip 30 and ammo 40)
Vehicle IS: If defined If wrecked If in water If ground If type (plane, heli, train, car, truck, bike, etc) If air If trailer attached If moved If has weapon (tank, gun jeep, etc) If protect proof (bullet, fire, explode, collided, etc) If extra? If tire wrecked? If range of point If range of object (This object: player, vehicle, object, etc) If dead reason ID? If weapon reloading If weapon shooting
Vehicle SET: Set position (teleport) Set angle Set health Set color Set protect proof Set max speed Set speed Set damage Set engine state Set light state Set door lock Set alarm state Set alarm (add/del alarm on car) Set siren state Set siren (add/del siren on car) Set weapon and ammo Go at point on speed Set follow object on speed (object: vehicle, player, NPC, etc) Set un follow Set damage object of weapon type Stop kill Create Delete Explode Burn Exegunsh Kill all passengers Kill passenger on seat (this driver - 0, passenger - 1, etc) Put object on trailer Put vehicle on trailer Remove object from trailer Remove vehicle from trailer Attach trailer on truck Attach on trailer Open component on time Close component on time Detach trailer Remove object from trailer Remove vehicle from trailer Set max passengers (set maximal limit) Set extra? (This tuning part: decal, roof mod, skins and other) Set tire? (HP for wheels) Set collision (This type: none, triger or solid body) - for racing Set current weapon slot (This car gun) Set current clip? Set clip from slot?
Vehicle GET: Get position Get color Get model Get type (plane, boat, heli, car, bike, etc) Get protect proof Get health Get max passengers Get passengers Get max speed Get speed Get engine state Get light state Get door lock Get alarm state Get alarm Get siren state Get siren Get damage (wrecked component part) Get current weapon Get current ammo Get current weapon slot Get weapon from slot Get ammo from slot Get following object Get damaging object Get collided object Get extra? Get tire? Get distance of point Get distance of object Get pool vehicles (This get array of vehicles IDs) Get collision Get current speed Get pool vehicles from point of range Get current clip Get clip from slot (10 / 30 here clip 30 and ammo 40) Get name (name string)
Server IS: If network (or single game) If runing If restarting If opened (if set not private mode) If states saved?
Server SET: Save log Set sync Set time Set time loop (frezee time) Set weather Set weather loop Send server message Clear server message Start? Stop Restart Load map? Save player states (states type: player, vehicle, pickup, object, emmiter particle, sound, etc)? Load player states? Delete player states? Send message Clear chat (clear chat for all players) Exploded at point Burn at point Exegunsh at point of range
Server GET: Get sync Get time Get weather Get usage memory Get runing time Get max players Get players (This online players on server: 0-100) Get admins?
Draw IS: If texture defined If text defined If arrow defined If layer index
Draw SET: Create player arrow (icon ID, style, color, x, y, z, layer) Delete arrow Set arrow style Set arrow target (This coord: x, y, z) Set arrow follow object Set arrow un follow Set arrow visible Create player text Delete text Set text string Set text visible (0 - hide, 1 - show) Set text style (font, size) Set text position (x, y, w, h, r) Create player texture Delete texture Set texture param Set texture position Set texture visible Move texture at x, y on time? Stop move texture? -- This for loop Draw player texture (texture name, w, h, x, y, r, layer) Draw player text (text string, font, size, w, h, x, y, r, layer) Draw player arrow (icon ID, style, color, x, y, z, layer) -- eof Set texture layer index (This index: 0 - back, 1 - top, 2, etc) Set text layer index (This index: 0 - back, 1 - top, 2, etc) Set arrow layer index (This index: 0 - back, 1 - top, 2, etc)
Draw GET: Get arrow player ID Get arrow style Get arrow target Get arrow follow object Get arrow visible Get arrow layer index Get text player ID Get text string Get text style Get text position Get text visible Get text layer index Get texture player ID Get texture param Get texture position Get texture visible Get texture layer index
Light IS: If defined If swith If night mode
Light SET: Create Delete Set param (range, intensity, style, time on, time off, color, night mode, etc) This style: spot, ray, etc Set mask? (set alpha texture) Set position Set swith (enable/disable) Attach object on offset (This object: player, vehicle, object, etc) Detach object
Light GET: Get param Get mask? Get position Get swith Get attached object ID Get pool lights from point of range
Sound IS: If defined If swith If loop
Sound SET: Create Delete Set param (sound name, range, volume, loop mode, x, y, z) Set position Set swith (enable/disable) Set play Set stop Set volume Set player (play only player) Attach object on offset (This object: player, vehicle, object, etc) Detach object
Sound GET: Get param Get position Get swith Get attached object ID Get player ID Get pool sounds from point of range
Object IS: If on vision an object (object type: emitter particle, light, sound and music, sprite, pickup, vehicle, player, NPC) If in area (in coordinates) If defined If alive If model If burning If received damage If in water If on ground If collided an object If collision on If visible? If physic If type (This: static, dynamic, weapon pickup, car pickup, pickup, etc) If range of point If range of object (This object: player, vehicle, object, etc) If moved If dead reason ID?
Object SET: Create Delete Explode Burn Exegunsh Kill Set health Set protect proof Set position Set angle Set size? Set mass? Set center mass? Set physic Set type Set model? Set sprite name? Set time respawn? (if it pickup) Set collision (This type: none, triger or solid body) Set visible? Throw at point (object, power, x, y, z) Move at point on speed Rotation on angle on speed? Stop move Play animation Stop animation Set animation param (play single or loop, etc) Attach object on offset (This object: player, vehicle, object, etc) Dettach object
Object GET: Get health Get protect proof Get position Get size? (w, h, z) Get mass? Get center mass? Get angle Get sprite name? Get model Get type Get animation Get attached object ID Get pool objects Get visible? Get physic Get time respawn? Get collision Get pool objects from point of range
Emitter IS: If defined If visible? If physic? If loop If moved? If ended If collided an object?
Emitter SET: Create Delete Set position Set angle Set param (particle name, loop mode, x, y, z) Set visible? Attach object on offset (This object: player, vehicle, object, etc) Dettach object Set physic? Set collision?
Emitter GET: Get position Get angle Get param Get visible Get attached object Get physic? Get collision? Get pool emitters from point of range
Map IS: If race path defined If road point defined If train point defined If bus station defined If player start race path If player finish race path If player on bus station of range If player on road point of range If player on train point of range
Map SET: Make race path Delete race path Add race point in path (This point: x, y, z) Remove race point from path Add race finish point on path Add race start point on path Play race path Stop race path Add player in race path on spawn ID Remove player from race Set road point position (x, y, z) Set road point type (up, down, right, left, etc) Set train point position (x, y, z) Set train point type Set bus stantion position (x, y, z) Set bus stantion name
Map GET: Get pool road points (Get array R paths IDs) Get pool train points (Get array T paths IDs) Get pool bus stations (Get array bus stations IDs) Get road point position (x, y, z) Get road point number Get road point type (right or left) Get train point position (x, y, z) Get train point number Get train point type (roads types, stantion, etc) Get bus stantion position (x, y, z) Get bus stantion number Get bus stantion name
Last update: Player, NPC, Vehicle
Last edited by Logofero on Mon Dec 10, 2018 5:52 pm, edited 2 times in total.
|
|